Share via


SubscriptionFieldCollection Class

サブスクリプション クラス スキーマ内の SubscriptionField オブジェクトのコレクションを表します。

名前空間: Microsoft.SqlServer.Management.Nmo
アセンブリ: Microsoft.SqlServer.Smo (microsoft.sqlserver.smo.dll 内)

構文

'宣言
<DefaultMemberAttribute("Item")> _
Public Class SubscriptionFieldCollection
    Inherits ParameterCollectionBase
[DefaultMemberAttribute("Item")] 
public class SubscriptionFieldCollection : ParameterCollectionBase
[DefaultMemberAttribute(L"Item")] 
public ref class SubscriptionFieldCollection : public ParameterCollectionBase
/** @attribute DefaultMemberAttribute("Item") */ 
public class SubscriptionFieldCollection extends ParameterCollectionBase
DefaultMemberAttribute("Item") 
public class SubscriptionFieldCollection extends ParameterCollectionBase

解説

サブスクリプション クラス スキーマは、アプリケーション データベースのサブスクリプション クラス テーブルを定義します。SubscriptionFieldCollection には、親サブスクリプション クラスのすべてのカスタム フィールドが含まれます。

Notification Services は、SubscriberIDCreatedUpdated、および Enabled 列をサブスクリプション クラス スキーマに自動的に追加します。

個々のサブスクリプション フィールドを定義するには、SubscriptionField クラスを使用します。

継承階層

System.Object
   Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
     Microsoft.SqlServer.Management.Smo.SmoCollectionBase
       Microsoft.SqlServer.Management.Smo.ArrayListCollectionBase
         Microsoft.SqlServer.Management.Smo.ParameterCollectionBase
          Microsoft.SqlServer.Management.Nmo.SubscriptionFieldCollection

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

SubscriptionFieldCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

その他の技術情報

サブスクリプション スキーマの定義
SubscriptionClass の Schema 要素 (ADF)