Partilhar via


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

Property Value

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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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