Partager via


Propriété 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).

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsRegistered As Boolean 
    Get
'Utilisation
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

Valeur de propriété

Type : System.Boolean
A Boolean value that specifies whether the instance of SQL Server is registered in the Active Directory service.If True, the instance of SQL Server is registered in the Active Directory service.If False (default), the instance of SQL Server is not registered in the Active Directory service.

Exemples

Définition de propriétés

Voir aussi

Référence

ServerActiveDirectory Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Active Directory Stored Procedures (Transact-SQL)