ScriptObjectModel.Logging Property
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