ReplicationServer.GetOriginalPublisher 메서드
Returns the name of the originating Publisher for a published database participating in a database mirroring session.
네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)
구문
‘선언
Public Function GetOriginalPublisher ( _
dbName As String _
) As String
‘사용 방법
Dim instance As ReplicationServer
Dim dbName As String
Dim returnValue As String
returnValue = instance.GetOriginalPublisher(dbName)
public string GetOriginalPublisher(
string dbName
)
public:
String^ GetOriginalPublisher(
String^ dbName
)
member GetOriginalPublisher :
dbName:string -> string
public function GetOriginalPublisher(
dbName : String
) : String
매개 변수
- dbName
유형: System.String
Name of a published database that participates in database mirroring.
반환 값
유형: System.String
A String value.
주의
This method is used to support replication with database mirroring. For more information, see 데이터베이스 미러링 및 복제(SQL Server).
The GetOriginalPublisher method is executed at the Publisher.