DatabaseActiveDirectory.IsRegistered 属性

Gets the Boolean property that specifies whether the database is registered with the Active Directory service.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsRegistered As Boolean 
    Get
用法
Dim instance As DatabaseActiveDirectory 
Dim value As Boolean 

value = instance.IsRegistered
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsRegistered { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsRegistered {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsRegistered : bool
function get IsRegistered () : boolean

属性值

类型:System.Boolean
A Boolean value that specifies whether the database is registered with the Active Directory service.If True, the database is registered with the Active Directory service.If False, the database is not registered with the Active Directory service.

示例

设置属性

请参阅

参考

DatabaseActiveDirectory 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)