DistributionPublication.Create Method
Creates the publication metadata at the Distributor.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Sub Create
'Usage
Dim instance As DistributionPublication
instance.Create()
public void Create()
public:
void Create()
member Create : unit -> unit
public function Create()
Remarks
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.