次の方法で共有


Item プロパティ (String)

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

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

構文

'宣言
Public ReadOnly Default Property Item ( _
    name As String _
) As AlertCategory
    Get
'使用
Dim instance As AlertCategoryCollection
Dim name As String
Dim value As AlertCategory

value = instance(name)
public AlertCategory this[
    string name
] { get; }
public:
property AlertCategory^ default[String^ name] {
    AlertCategory^ get (String^ name);
}
member Item : AlertCategory
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

プロパティ値

型: Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertCategory
警告カテゴリを表す AlertCategory オブジェクトの値です。