ServerActiveDirectory-Klasse
The ServerActiveDirectory object provides programmatic access to the Active Directory functionality.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ServerActiveDirectory _
Inherits SqlSmoObject
'Usage
Dim instance As ServerActiveDirectory
public sealed class ServerActiveDirectory : SqlSmoObject
public ref class ServerActiveDirectory sealed : public SqlSmoObject
[<SealedAttribute>]
type ServerActiveDirectory =
class
inherit SqlSmoObject
end
public final class ServerActiveDirectory extends SqlSmoObject
Hinweise
The ServerActiveDirectory object allows you to do the following:
Register an instance of Microsoft SQL Server in Active Directory as a Service Control Point (SCP) with the option to list all databases.
Update the SQL Server registration information in Active Directory.
Mark the SQL Server registration as inactive.
Delete the SQL Server registration information from Active Directory.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo..::..ServerActiveDirectory
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.