次の方法で共有


DistributionSubscriptionCollection クラス

DistributionSubscription オブジェクトのコレクションを表します。

継承階層

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 参照先のコレクションに含まれるオブジェクトの数を取得します。 (ReplicationBaseCollection から継承されています。)
パブリック プロパティ IsSynchronized コレクションへのアクセスが同期され、スレッド セーフであるかどうかを取得します。 (ReplicationBaseCollection から継承されています。)
パブリック プロパティ Item[Int32] コレクション内にある指定したインデックス番号の DistributionSubscription オブジェクトを取得します。
パブリック プロパティ Item[String, String] DistributionSubscriptionCollection 内の DistributionSubscription オブジェクトを、ディストリビューター側でサブスクリプションを一意に識別する SubscriberName プロパティおよび SubscriptionDBName プロパティを使って取得します。
パブリック プロパティ SyncRoot コレクションへのアクセスを同期するためのオブジェクトを取得します。 (ReplicationBaseCollection から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド CopyTo(Array, Int32) 配列にコレクションをコピーします。 (ReplicationBaseCollection から継承されています。)
パブリック メソッド CopyTo(DistributionSubscriptionCollection, Int32) コレクションのコピーを作成します。
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド GetEnumerator コレクションのオブジェクトを繰り返し処理するために使用される列挙子を取得します。 (ReplicationBaseCollection から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
パブリック メソッド Refresh コレクションを更新します。 (ReplicationBaseCollection から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

説明

コレクションの DistributionSubscription オブジェクトには、Item プロパティからアクセスできます。 そのためには、[Int32] インデックス値、またはサブスクリプションを定義する SubscriberNameSubscriptionDBName のプロパティで構成される [String, String] インデックス値を使用します。

この名前空間、クラス、またはメンバーは、.NET Framework 2.0 でのみサポートされています。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.SqlServer.Replication 名前空間