次の方法で共有


EventFieldCollection Class

Notification Services EventClass のイベント フィールドのコレクションを表します。

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

構文

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

解説

イベント フィールドは、アプリケーション データベースのイベント クラス テーブルを定義します。Notification Services は、データベース テーブルの作成時に ID 列を自動的に追加します。

個々のイベント フィールドを定義するには、EventField クラスを使用します。

EventFieldCollection は順序付きコレクションです。EventField オブジェクトは特定の位置に追加できます。EventField オブジェクトを列挙すると、指定した順序でフィールドが返されます。

継承階層

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.EventFieldCollection

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

EventFieldCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

その他の技術情報

コア イベント クラス プロパティの定義
EventClass の Schema 要素 (ADF)