Udostępnij przez


Właściwość ServerActiveDirectory.IsRegistered

Gets the Boolean property value that specifies whether the instance of Microsoft SQL Server is registered in the Active Directory service as a Service Control Point (SCP).

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsRegistered As Boolean
    Get
'Użycie
Dim instance As ServerActiveDirectory
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

Wartość właściwości

Typ: System.Boolean
A Boolean wartość określająca, czy wystąpienie SQL Server jest zarejestrowany w usłudze Active Directory usługa.
Jeśli True, wystąpienie SQL Server jest zarejestrowany w usłudze Active Directory usługa.
Jeśli FAŁSZ (domyślnie), wystąpienie SQL Server nie jest zarejestrowany w usłudze Active Directory usługa.