Compartir a través de


ServerActiveDirectory.IsEnabled Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEnabled As Boolean 
    Get
'Uso
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

Valor de la propiedad

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.

Ejemplos

Establecer propiedades

Vea también

Referencia

ServerActiveDirectory Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Active Directory Stored Procedures (Transact-SQL)