NOTE: This property is now obsolete.
Returns the IDTSLogging object for the package.
命名空间: Microsoft.SqlServer.Dts.Tasks.ScriptTask
程序集: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)
语法
声明
<ObsoleteAttribute> _
Public ReadOnly Property Logging As IDTSLogging
[ObsoleteAttribute]
public IDTSLogging Logging { get; }
[ObsoleteAttribute]
public:
property IDTSLogging^ Logging {
IDTSLogging^ get ();
}
/** @property */
public IDTSLogging get_Logging ()
public function get Logging () : IDTSLogging
属性值
The IDTSLogging object for the package that provides logging properties and the ability to save log entries to enabled log providers.
备注
Use the ScriptObjectModel method of the Dts object in Script task code to perform logging, instead of the obsolete Logging property.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
ScriptObjectModel Class
ScriptObjectModel Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace