Partager via


ServerActiveDirectory.IsRegistered Property

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 (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property IsRegistered As Boolean
public bool IsRegistered { get; }
public:
property bool IsRegistered {
    bool get ();
}
/** @property */
public boolean get_IsRegistered ()
public function get IsRegistered () : boolean

Valeur de propriété

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.

Notes

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Exemple

How to: Get and Set a Property in Visual Basic .NET

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ServerActiveDirectory Class
ServerActiveDirectory Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Procédures stockées Active Directory (Transact-SQL)