共用方式為


IDTSLogging100.Enabled 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets a value that indicates whether logging is enabled.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
ReadOnly Property Enabled As Boolean 
    Get
'用途
Dim instance As IDTSLogging100 
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; otherwise, false.

請參閱

參考

IDTSLogging100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間