Свойство AlertCollection.Item (Int32)

Gets an Alert object in the collection by index number.

Пространство имен:  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 поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.Agent.Alert
Returns Alert.

См. также

Справочник

AlertCollection Класс

Перегрузка Item

Пространство имен Microsoft.SqlServer.Management.Smo.Agent