Udostępnij za pośrednictwem


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);
member this.ScriptPublicationActivation : Microsoft.SqlServer.Replication.ScriptOptions -> string
Public Function ScriptPublicationActivation (scriptOption As ScriptOptions) As String

Parameters

scriptOption
ScriptOptions

The script that is generated.

Returns

The Transact-SQL script.

Applies to