共用方式為


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> _
Public ReadOnly Property IsEnabled As Boolean
    Get
'用途
Dim instance As ServerActiveDirectory
Dim value As Boolean

value = instance.IsEnabled
[SfcPropertyAttribute]
public bool IsEnabled { get; }
[SfcPropertyAttribute]
public:
property bool IsEnabled {
    bool get ();
}
[<SfcPropertyAttribute>]
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.

範例

設定屬性