AlertCollection.Item プロパティ (Int32)
コレクション内にある指定したインデックス番号の Alert オブジェクトを取得します。
名前空間: Microsoft.SqlServer.Management.Smo.Agent
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public ReadOnly Default Property Item ( _
index As Integer _
) As Alert
Get
'使用
Dim instance As AlertCollection
Dim index As Integer
Dim value As Alert
value = instance(index)
public Alert this[
int index
] { get; }
public:
property Alert^ default[int index] {
Alert^ get (int index);
}
member Item : Alert
JScript はインデックス化されたプロパティの使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- index
型: System.Int32
AlertCollection コレクション内の Alert オブジェクトの位置を示す Int32 値です。
プロパティ値
型: Microsoft.SqlServer.Management.Smo.Agent.Alert
Alert が返されます。