共用方式為


ReplicationServer.ScriptUninstallDistributor(ScriptOptions) Method

Definition

Returns a Transact-SQL script that can be used to uninstall the Distributor.

public:
 System::String ^ ScriptUninstallDistributor(Microsoft::SqlServer::Replication::ScriptOptions scriptOption);
public string ScriptUninstallDistributor (Microsoft.SqlServer.Replication.ScriptOptions scriptOption);
member this.ScriptUninstallDistributor : Microsoft.SqlServer.Replication.ScriptOptions -> string
Public Function ScriptUninstallDistributor (scriptOption As ScriptOptions) As String

Parameters

scriptOption
ScriptOptions

A ScriptOptions object value that specifies the scripting options.

Returns

A String value that contains the Transact-SQL script.

Remarks

The ScriptUninstallDistributor method can be called before InstallDistributor.

Applies to