MergePublication.ScriptPublicationActivation 方法
Generates a Transact-SQL script that, when run, sets the status of a merge publication to active.
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public Function ScriptPublicationActivation ( _
scriptOption As ScriptOptions _
) As String
'用途
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
參數
- scriptOption
型別:Microsoft.SqlServer.Replication.ScriptOptions
The script that is generated.
傳回值
型別:System.String
The Transact-SQL script.