DistributionDatabase.Create 方法
Creates the distribution database.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)
语法
声明
Public Sub Create
用法
Dim instance As DistributionDatabase
instance.Create()
public void Create()
public:
void Create()
member Create : unit -> unit
public function Create()
注释
The Create method cannot be called for an existing distribution database.
The Create method can only be called by members of the sysadmin fixed server role at the Distributor.
Calling Create is equivalent to executing sp_adddistributiondb.
请参阅
参考
Microsoft.SqlServer.Replication 命名空间