TransSubscriptionCollection クラス

定義

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

public ref class TransSubscriptionCollection sealed : Microsoft::SqlServer::Replication::ReplicationBaseCollection
public sealed class TransSubscriptionCollection : Microsoft.SqlServer.Replication.ReplicationBaseCollection
type TransSubscriptionCollection = class
    inherit ReplicationBaseCollection
Public NotInheritable Class TransSubscriptionCollection
Inherits ReplicationBaseCollection
継承
TransSubscriptionCollection

注釈

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

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

スレッド セーフ

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

プロパティ

Count

参照先のコレクションに含まれるオブジェクトの数を取得します。

(継承元 ReplicationBaseCollection)
IsSynchronized

コレクションへのアクセスが同期され、スレッド セーフであるかどうかを取得します。

(継承元 ReplicationBaseCollection)
Item[Int32]

コレクション内の TransSubscription オブジェクトをインデックス番号に基づいて取得します。

Item[String, String]

TransSubscription 内の TransSubscriptionCollection オブジェクトを、サブスクリプションを一意に識別する SubscriberName プロパティおよび SubscriptionDBName プロパティを使って取得します。

SyncRoot

コレクションへのアクセスを同期するために使用できるオブジェクトを取得します。

(継承元 ReplicationBaseCollection)

メソッド

CopyTo(Array, Int32)

配列にコレクションをコピーします。

(継承元 ReplicationBaseCollection)
CopyTo(TransSubscriptionCollection, Int32)

コレクションのコピーを作成します。

GetEnumerator()

コレクションのオブジェクトを繰り返し処理するために使用される列挙子を取得します。

(継承元 ReplicationBaseCollection)
InitList()

レプリケーション ベース コレクションを初期化します。

(継承元 ReplicationBaseCollection)
Refresh()

コレクションを更新します。

(継承元 ReplicationBaseCollection)

適用対象