다음을 통해 공유


ScriptPublicationActivation 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo.dll의 Microsoft.SqlServer.Rmo

구문

‘선언
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

매개 변수

반환 값

형식: System. . :: . .String
A String value that is the Transact-SQL script.