Share via


SubscriptionEventRuleCollection Class

サブスクリプション クラスに使用するイベント ルールのコレクションを表します。

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

構文

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

解説

各サブスクリプション クラスは、イベント ドリブン サブスクリプションのルールで構成されているイベント ルールと、定期的なサブスクリプションのクエリで構成されている定期的なルールを使用することができます。SubscriptionEventRuleCollection コレクションは、イベント ルールに使用します。

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

継承階層

System.Object
   Microsoft.SqlServer.Management.Smo.AbstractCollectionBase
     Microsoft.SqlServer.Management.Smo.SmoCollectionBase
       Microsoft.SqlServer.Management.Smo.SortedListCollectionBase
         Microsoft.SqlServer.Management.Smo.SimpleObjectCollectionBase
          Microsoft.SqlServer.Management.Nmo.SubscriptionEventRuleCollection

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

SubscriptionEventRuleCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

その他の技術情報

イベント ルールの定義
EventRules 要素 (ADF)