Share via


LogProviderSQLProfilerClass.Enabled Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets a value that indicates whether the log provider is enabled.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Enabled As Boolean 
    Get
'Usage
Dim instance As LogProviderSQLProfilerClass 
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

Property Value

Type: System.Boolean
true if the log provider is enabled; otherwise, false.

Implements

IDTSLogging100.Enabled

See Also

Reference

LogProviderSQLProfilerClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace