Méthode JobCategoryCollection.Add
Adds a JobCategory object to the JobCategoryCollection collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
jobCategory As JobCategory _
)
'Utilisation
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
)
Paramètres
- jobCategory
Type : Microsoft.SqlServer.Management.Smo.Agent.JobCategory
A JobCategory object that specifies the job category to be removed from the JobCategoryCollection collection.