Partilhar via


Método MergePublication.ScriptPublicationActivation

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public Function ScriptPublicationActivation ( _
    scriptOption As ScriptOptions _
) As String
'Uso
Dim instance As MergePublication 
Dim scriptOption As ScriptOptions 
Dim returnValue As String 

returnValue = instance.ScriptPublicationActivation(scriptOption)
public string ScriptPublicationActivation(
    ScriptOptions scriptOption
)
public:
String^ ScriptPublicationActivation(
    ScriptOptions scriptOption
)
member ScriptPublicationActivation : 
        scriptOption:ScriptOptions -> string
public function ScriptPublicationActivation(
    scriptOption : ScriptOptions
) : String

Parâmetros

Valor de retorno

Tipo: System.String
The Transact-SQL script.

Consulte também

Referência

MergePublication Classe

Namespace Microsoft.SqlServer.Replication