JobCategoryCollection.Item Propiedad (String)
Gets a JobCategory 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 JobCategory
Get
'Uso
Dim instance As JobCategoryCollection
Dim name As String
Dim value As JobCategory
value = instance(name)
public JobCategory this[
string name
] { get; }
public:
property JobCategory^ default[String^ name] {
JobCategory^ get (String^ name);
}
member Item : JobCategory
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 JobCategory object in the JobCategoryCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobCategory
A JobCategory object value that represents the alert category.