DistributionPublication.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.