ReplicationServer.EnumSubscriberSubscriptions 메서드

Returns the subscriptions on a Subscriber server.

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


Public Function EnumSubscriberSubscriptions ( _
    databaseName As String, _
    subscriptionType As Integer _
) As ArrayList
‘사용 방법
Dim instance As ReplicationServer 
Dim databaseName As String 
Dim subscriptionType As Integer 
Dim returnValue As ArrayList 

returnValue = instance.EnumSubscriberSubscriptions(databaseName, _
public ArrayList EnumSubscriberSubscriptions(
    string databaseName,
    int subscriptionType
ArrayList^ EnumSubscriberSubscriptions(
    String^ databaseName, 
    int subscriptionType
member EnumSubscriberSubscriptions : 
        databaseName:string * 
        subscriptionType:int -> ArrayList
public function EnumSubscriberSubscriptions(
    databaseName : String, 
    subscriptionType : int
) : ArrayList

매개 변수

  • databaseName
    유형: System.String
    A String value that specifies the database name from which the subscriptions are enumerated. Use a nullnull 참조(Visual Basic에서는 Nothing) value to enumerate subscriptions in all databases on the Subscriber.
  • subscriptionType
    유형: System.Int32
    An integer value that specifies the subscription type for the returned subscription:Push Pull and anonymous Both

반환 값

유형: System.Collections.ArrayList
An ArrayList of SubscriberSubscription objects.


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.

참고 항목


ReplicationServer 클래스

Microsoft.SqlServer.Replication 네임스페이스