Propriedade Item (String)
Gets an OperatorCategory object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As OperatorCategory
Get
'Uso
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
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the OperatorCategory object in the OperatorCategoryCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .OperatorCategory
An OperatorCategory object value that represents the alert category.