Item Propiedad (String)
Gets an OperatorCategory object in the collection by name.
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 ( _
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the OperatorCategory object in the OperatorCategoryCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .OperatorCategory
An OperatorCategory object value that represents the alert category.