LogProviderEventLogClass.Enabled 属性
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets a value that indicates whether the log provider is enabled.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Public Overridable ReadOnly Property Enabled As Boolean
Get
用法
Dim instance As LogProviderEventLogClass
Dim value As Boolean
value = instance.Enabled
public virtual bool Enabled { get; }
public:
virtual property bool Enabled {
bool get ();
}
abstract Enabled : bool
override Enabled : bool
function get Enabled () : boolean
属性值
类型:System.Boolean
true if the log provider is enabled; otherwise, false.