Compartir a través de


Item Propiedad (Int32)

Gets an AlertCategory object in the collection by index number.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    index As Integer _
) As AlertCategory
    Get
'Uso
Dim instance As AlertCategoryCollection
Dim index As Integer
Dim value As AlertCategory

value = instance(index)
public AlertCategory this[
    int index
] { get; }
public:
property AlertCategory^ default[int index] {
    AlertCategory^ get (int index);
}
member Item : AlertCategory
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertCategory
An AlertCategory object value that represents the alert category.

Ejemplos

Usar colecciones