MergePublication.ScriptPublicationActivation(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.
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.