AlertCategoryCollection.Item Property (String)

コレクション内にある指定した名前の AlertCategory オブジェクトを取得します。

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String _
) As AlertCategory
public AlertCategory this [
    string name
] { get; }
public:
property AlertCategory^ default [String^] {
    AlertCategory^ get (String^ name);
}
/** @property */
public AlertCategory get_Item (String name)

パラメータ

プロパティ値

警告カテゴリを表す AlertCategory オブジェクトの値です。

解説

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

使用例

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

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

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

対象プラットフォーム

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

参照

関連項目

AlertCategoryCollection Class
AlertCategoryCollection Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

その他の技術情報

コレクションの使用