共用方式為


ServerActiveDirectory.Register 方法

包含保護的成員
包含繼承的成員

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

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 Register() Creates a registration entry for the instance of Microsoft SQL Server in the Active Directory service as defined by the ServerActiveDirectory object.
公用方法 Register(Boolean) Creates a registration entry for the instance of 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 類別

Microsoft.SqlServer.Management.Smo 命名空間