Udostępnij za pośrednictwem


DistributionPublication.Remove Method

Definition

Removes metadata for the publication from the Distributor.

public:
 void Remove();
public void Remove ();
member this.Remove : unit -> unit
Public Sub Remove ()

Remarks

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

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

Applies to