共用方式為


DistributionDatabase.Remove Method

Definition

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.

Applies to

See also