ReplicationDatabase.ReadSubscriptionFailoverMode 메서드

Returns the failover mode for an updating subscription to a transactional or snapshot publication.

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

public FailoverMode ReadSubscriptionFailoverMode(
	string publisher,
	string publicationDB,
	string publication
)

매개 변수

publisher
유형: System.String
A String value that specifies the Publisher.
publicationDB
유형: System.String
A String value that specifies the publication database.
publication
유형: System.String
A String value that specifies the publication.

The ReadSubscriptionFailOverMode(String, String, String) method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role.

Calling ReadSubscriptionFailOverMode(String, String, String) is equivalent to executing sp_helpreplfailovermode(Transact-SQL).

커뮤니티 추가 항목

추가
표시: