ReplicationServer.ScriptUninstallDistributor(ScriptOptions) 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.
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.