GetOriginalPublisher 메서드
Returns the name of the originating Publisher for a published database participating in a database mirroring session.
네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo.dll의 Microsoft.SqlServer.Rmo
구문
‘선언
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 복제 및 데이터베이스 미러링.
The GetOriginalPublisher method is executed at the Publisher.