DistributionSubscriptionCollection 클래스

Represents a collection of DistributionSubscription objects.

상속 계층

System.Object
  Microsoft.SqlServer.Replication.ReplicationBaseCollection
    Microsoft.SqlServer.Replication.DistributionSubscriptionCollection

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

구문

‘선언
Public NotInheritable Class DistributionSubscriptionCollection _
    Inherits ReplicationBaseCollection
‘사용 방법
Dim instance As DistributionSubscriptionCollection
public sealed class DistributionSubscriptionCollection : ReplicationBaseCollection
public ref class DistributionSubscriptionCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type DistributionSubscriptionCollection =  
    class 
        inherit ReplicationBaseCollection 
    end
public final class DistributionSubscriptionCollection extends ReplicationBaseCollection

DistributionSubscriptionCollection 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of objects in the referenced collection. (ReplicationBaseCollection에서 상속됨)
공용 속성 IsSynchronized Gets whether or not access to the collection is synchronized and is therefore thread-safe. (ReplicationBaseCollection에서 상속됨)
공용 속성 Item[Int32] Gets a DistributionSubscription object in the collection by index number.
공용 속성 Item[String, String] Gets a DistributionSubscription object in the DistributionSubscriptionCollection by SubscriberName and SubscriptionDBName properties that uniquely identify the subscription at the Distributor.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the collection. (ReplicationBaseCollection에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 CopyTo(Array, Int32) Copies the collection to an array. (ReplicationBaseCollection에서 상속됨)
공용 메서드 CopyTo(DistributionSubscriptionCollection, Int32) Makes a copy of the collection.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetEnumerator Gets an enumerator that is used to iterate through the objects in a collection. (ReplicationBaseCollection에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Refresh Refreshes the collection. (ReplicationBaseCollection에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

A DistributionSubscription object in the collection can be accessed from the Item property. This can be done using an [Int32] index value or using a [String, String] index value that is composed of the SubscriberName and SubscriptionDBName properties that define the subscription.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Replication 네임스페이스