ReplicationServer.EnumSubscriberSubscriptions 메서드

Returns the subscriptions on a Subscriber server.

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

public ArrayList EnumSubscriberSubscriptions(
	string databaseName,
	int subscriptionType

매개 변수

유형: System.String
A String value that specifies the database name from which the subscriptions are enumerated. Use a null value to enumerate subscriptions in all databases on the Subscriber.
유형: System.Int32
An integer value that specifies the subscription type for the returned subscription:Push Pull and anonymous Both

The structure holds limited information about the subscription.

The EnumSubscriberSubscriptions method can only be called by members of the db_owner fixed database role on the subscription database.

커뮤니티 추가 항목