ServerActiveDirectory.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.

示例

设置属性

请参阅

参考

ServerActiveDirectory 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

Active Directory Stored Procedures (Transact-SQL)