Compartilhar via


Método DistributionPublication.Create

Creates the publication metadata at the Distributor.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public Sub Create
'Uso
Dim instance As DistributionPublication

instance.Create()
public void Create()
public:
void Create()
member Create : unit -> unit
public function Create()

Comentários

You should not call the Create method. To create a transactional or snapshot publication, you should instead call the Create method on the TransPublication object.

The Create method can only be called by members of the db_owner fixed database role on the distribution database.

Consulte também

Referência

DistributionPublication Classe

Namespace Microsoft.SqlServer.Replication