Item propriété (Int32)
Gets an AlertCategory object in the collection by index number.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As AlertCategory
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- index
Type : System. . :: . .Int32
An Int32 value that specifies the position of the AlertCategory object in the AlertCategoryCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo.Agent. . :: . .AlertCategory
An AlertCategory object value that represents the alert category.