DistributionDatabase.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.
Deletes the distribution database.
public:
void Remove();
public void Remove ();
member this.Remove : unit -> unit
Public Sub Remove ()
Remarks
The Remove method can only be called by members of the sysadmin
fixed server role at the Distributor.
Calling Remove is equivalent to executing sp_dropdistributiondb.