ReplicationServer.ScriptUninstallDistributor(ScriptOptions) ReplicationServer.ScriptUninstallDistributor(ScriptOptions) 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);
Public Function ScriptUninstallDistributor (scriptOption As ScriptOptions) As String

Parameters

scriptOption
ScriptOptions ScriptOptions 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