Compartilhar via


Propriedade do RDL AlertCollection.Item (Int32)

Gets an Alert object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Alert 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent.Alert
Returns Alert.

Consulte também

Referência

AlertCollection Classe

Sobrecarregado Item

Namespace Microsoft.SqlServer.Management.Smo.Agent