共用方式為


JobFilter.JobType 屬性

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to type of job.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property JobType As JobType 
    Get 
    Set
'用途
Dim instance As JobFilter 
Dim value As JobType 

value = instance.JobType

instance.JobType = value
public JobType JobType { get; set; }
public:
property JobType JobType {
    JobType get ();
    void set (JobType value);
}
member JobType : JobType with get, set
function get JobType () : JobType 
function set JobType (value : JobType)

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent.JobType
A JobType object value that specifies the type of job.

範例

使用 SQL Server Agent 排程自動管理工作

請參閱

參考

JobFilter 類別

Microsoft.SqlServer.Management.Smo.Agent 命名空間

其他資源

自動化管理工作 (SQL Server Agent)