JobCategoryCollection.Add 方法
Adds a JobCategory object to the JobCategoryCollection collection.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
jobCategory As JobCategory _
)
用法
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
)
参数
- jobCategory
类型:Microsoft.SqlServer.Management.Smo.Agent.JobCategory
A JobCategory object that specifies the job category to be removed from the JobCategoryCollection collection.