Поделиться через


Свойство IsEnabled

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsEnabled As Boolean
    Get
'Применение
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

Значение свойства

Тип: 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.