MergePublication.ScriptPublicationActivation(ScriptOptions) MergePublication.ScriptPublicationActivation(ScriptOptions) MergePublication.ScriptPublicationActivation(ScriptOptions) Method

Definition

Generates a Transact-SQL script that, when run, sets the status of a merge publication to active.

public:
 System::String ^ ScriptPublicationActivation(Microsoft::SqlServer::Replication::ScriptOptions scriptOption);
public string ScriptPublicationActivation (Microsoft.SqlServer.Replication.ScriptOptions scriptOption);
Public Function ScriptPublicationActivation (scriptOption As ScriptOptions) As String
Parameters
scriptOption
ScriptOptions ScriptOptions ScriptOptions

The script that is generated.

Returns

The Transact-SQL script.

Applies to