Метод 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.

См. также

Справочник

DistributionDatabase Класс

Пространство имен Microsoft.SqlServer.Replication

Другие ресурсы

Как настроить публикацию и распространение (программирование объектов RMO)