Condividi tramite


Proprietà IsEnabled

Gets the Boolean property value that specifies whether the Active Directory service is available.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEnabled As Boolean
    Get
'Utilizzo
Dim instance As ServerActiveDirectory
Dim value As Boolean

value = instance.IsEnabled
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEnabled { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEnabled {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEnabled : bool
function get IsEnabled () : boolean

Valore proprietà

Tipo: System. . :: . .Boolean
A Boolean value that specifies whether the Active Directory service is available.
If True, the Active Directory service is available.
If False (default), the Active Directory service is unavailable.