Condividi tramite


ScriptObjectModel.Logging Property

NOTE: This property is now obsolete.

Returns the IDTSLogging object for the package.

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly : Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

Sintassi

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

Valore proprietà

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

Osservazioni

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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