JobCategoryCollection.Add Método
Adds a JobCategory object to the JobCategoryCollection collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
jobCategory As JobCategory _
)
'Uso
Dim instance As JobCategoryCollection
Dim jobCategory As JobCategory
instance.Add(jobCategory)
public void Add(
JobCategory jobCategory
)
public:
void Add(
JobCategory^ jobCategory
)
member Add :
jobCategory:JobCategory -> unit
public function Add(
jobCategory : JobCategory
)
Parámetros
- jobCategory
Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobCategory
A JobCategory object that specifies the job category to be removed from the JobCategoryCollection collection.