Partager via


Propriété ServerActiveDirectory.IsEnabled

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEnabled As Boolean 
    Get
'Utilisation
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

Valeur de propriété

Type : 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.

Exemples

Définition de propriétés

Voir aussi

Référence

ServerActiveDirectory Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Active Directory Stored Procedures (Transact-SQL)