共用方式為


ServerActiveDirectory.Register Method

Creates a registration entry for the instance of Microsoft SQL Server in the Active Directory service as defined by the ServerActiveDirectory object.

備註

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

多載清單

名稱 Description
ServerActiveDirectory.Register ()
Creates a registration entry for the instance of Microsoft SQL Server in the Active Directory service as defined by the ServerActiveDirectory object.
ServerActiveDirectory.Register (Boolean)
Creates a registration entry for the instance of Microsoft SQL Server in the Active Directory service as defined by the ServerActiveDirectory object with the option to register all the databases on the instance of SQL Server.

請參閱

參考

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

其他資源

Active Directory 預存程序 (Transact-SQL)