다음을 통해 공유


Enabled 속성

Returns a Boolean that indicates if logging is enabled. This field is read-only.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
ReadOnly Property Enabled As Boolean
    Get
‘사용 방법
Dim instance As IDTSLogging
Dim value As Boolean

value = instance.Enabled
bool Enabled { get; }
property bool Enabled {
    bool get ();
}
abstract Enabled : bool
function get Enabled () : boolean

속성 값

형식: System. . :: . .Boolean
true if logging is enabled; false if logging is disabled.

주의

This property is used by tasks to ask if logging is available to the task. This is useful to know if preparing the information for a log entry is expensive. If logging is not enabled, you can skip preparing the information.