Propriété LogProviderEventLogClass.Enabled
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Gets a value that indicates whether the log provider is enabled.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Public Overridable ReadOnly Property Enabled As Boolean
Get
'Utilisation
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
Valeur de propriété
Type : System.Boolean
true if the log provider is enabled; otherwise, false.