Aracılığıyla paylaş


DatabaseActiveDirectory.IsRegistered Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsRegistered As Boolean
    Get
'Kullanım
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

Property Value

Type: 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.

Examples

Setting Properties

See Also

Reference

DatabaseActiveDirectory Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Active Directory Stored Procedures (Transact-SQL)

sp_ActiveDirectory_Obj (Transact-SQL)