Właściwość OperatorCategoryCollection.Item (String)
Pobiera OperatorCategory obiektu kolekcja według nazwy.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
Public ReadOnly Default Property Item ( _
name As String _
) As OperatorCategory
Get
'Użycie
Dim instance As OperatorCategoryCollection
Dim name As String
Dim value As OperatorCategory
value = instance(name)
public OperatorCategory this[
string name
] { get; }
public:
property OperatorCategory^ default[String^ name] {
OperatorCategory^ get (String^ name);
}
member Item : OperatorCategory
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.
Parametry
- name
Typ: System.String
A String wartość, która określa nazwę OperatorCategory obiekt w OperatorCategoryCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory
OperatorCategory Wartość obiektu, który reprezentuje kategorię alert.