AlertCollection Class

AlertCollection クラスは、親オブジェクトで定義されたすべての警告を表す Alert オブジェクトのコレクションを表します。

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

構文

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

解説

AlertCollection オブジェクトは、一連の警告にアクセスするために使用できます。Item プロパティを使用して、特定の Alert オブジェクトを取得することができます。

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

継承階層

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.Smo.Agent.AlertCollection

使用例

Visual Basic .NET でコレクションのメンバを反復処理する方法

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

AlertCollection Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

その他の技術情報

コレクションの使用