ScriptPublicationActivation Método
Generates a Transact-SQL script that, when run, sets the status of a merge publication to active.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
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
- scriptOption
Tipo: Microsoft.SqlServer.Replication. . :: . .ScriptOptions
A ScriptOptions value that specifies the script that is generated.
Valor devuelto
Tipo: System. . :: . .String
A String value that is the Transact-SQL script.
Vea también