JobCategoryCollection.Add-Methode
Adds a JobCategory object to the JobCategoryCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
jobCategory As JobCategory _
)
'Usage
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
)
Parameter
- jobCategory
Typ: Microsoft.SqlServer.Management.Smo.Agent.JobCategory
A JobCategory object that specifies the job category to be removed from the JobCategoryCollection collection.