次の方法で共有


TransPullSubscriptionCollection クラス

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

継承階層

System.Object
  Microsoft.SqlServer.Replication.ReplicationBaseCollection
    Microsoft.SqlServer.Replication.TransPullSubscriptionCollection

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public NotInheritable Class TransPullSubscriptionCollection _
    Inherits ReplicationBaseCollection
'使用
Dim instance As TransPullSubscriptionCollection
public sealed class TransPullSubscriptionCollection : ReplicationBaseCollection
public ref class TransPullSubscriptionCollection sealed : public ReplicationBaseCollection
[<SealedAttribute>]
type TransPullSubscriptionCollection =  
    class 
        inherit ReplicationBaseCollection 
    end
public final class TransPullSubscriptionCollection extends ReplicationBaseCollection

TransPullSubscriptionCollection 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Count 参照先のコレクションに含まれるオブジェクトの数を取得します。 (ReplicationBaseCollection から継承されています。)
パブリック プロパティ IsSynchronized コレクションへのアクセスが同期され、スレッド セーフであるかどうかを取得します。 (ReplicationBaseCollection から継承されています。)
パブリック プロパティ Item[Int32] コレクション内にある指定したインデックス番号の TransPullSubscription オブジェクトを取得します。
パブリック プロパティ Item[String, String, String] コレクション中の TransPullSubscription オブジェクトを、プル サブスクリプションを一意に定義するプロパティ PublisherNamePublicationDBName、および PublicationName を使って取得します。
パブリック プロパティ SyncRoot コレクションへのアクセスを同期するためのオブジェクトを取得します。 (ReplicationBaseCollection から継承されています。)

先頭に戻る

メソッド

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

先頭に戻る

説明

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

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

スレッド セーフ

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

スレッド セーフ

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

関連項目

参照

Microsoft.SqlServer.Replication 名前空間