ReplicationServer.ScriptInstallDistributor 메서드

Returns a Transact-SQL script that installs the Distributor.

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

public string ScriptInstallDistributor(
	string distributionServerName,
	ScriptOptions scriptOption
)

매개 변수

distributionServerName
유형: System.String
The name of the Distributor.
scriptOption
유형: Microsoft.SqlServer.Replication.ScriptOptions
A ScriptOptions enumeration value that specifies the scripting options.

반환 값

유형: System.String
A String value that contains the Transact-SQL script.

예외조건
ArgumentException

When distributionServerName is null, contains null characters, or is longer than 128 bytes.

The ScriptInstallDistributor method can be called before InstallDistributor.

커뮤니티 추가 항목

추가
표시: