Método JobCategoryCollection.Add
Adds a JobCategory object to the JobCategoryCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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.