Freigeben über


ScriptObjectModel.Logging Property

NOTE: This property is now obsolete.

Returns the IDTSLogging object for the package.

Namespace: Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly : Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

Syntax

'Declaration
<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

Eigenschaftswert

The IDTSLogging object for the package that provides logging properties and the ability to save log entries to enabled log providers.

Hinweise

Use the ScriptObjectModel method of the Dts object in Script task code to perform logging, instead of the obsolete Logging property.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

ScriptObjectModel Class
ScriptObjectModel Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace