ReplicationServer.GetOriginalPublisher(String) ReplicationServer.GetOriginalPublisher(String) ReplicationServer.GetOriginalPublisher(String) Method

Definition

Returns the name of the originating Publisher for a published database participating in a database mirroring session.

public:
 System::String ^ GetOriginalPublisher(System::String ^ dbName);
public string GetOriginalPublisher (string dbName);
Public Function GetOriginalPublisher (dbName As String) As String

Parameters

dbName
String String String

Name of a published database that participates in database mirroring.

Returns

Remarks

This method is used to support replication with database mirroring. For more information, see Database Mirroring and Replication (SQL Server).

The GetOriginalPublisher method is executed at the Publisher.

Applies to