Job Job Job Job Class

定义

表示 Report Server 当前正在处理的用户或系统作业。Represents a user or system job that a report server is actively processing.

public ref class Job
public class Job
type Job = class
Public Class Job
继承

注解

Job对象的数组作为ListJobs方法的输出返回。An array of Job objects is returned as output by the ListJobs method.

构造函数

Job() Job() Job() Job()

初始化 Job 类的新实例。Initializes a new instance of the Job class.

属性

Action Action Action Action

获取一个JobActionEnum值, 该值描述启动该作业的操作。Gets a JobActionEnum value that describes the action that initiated the job.

Description Description Description Description

获取当前与该作业关联的项的名称。Gets the name of the item with which the job is currently associated.

JobID JobID JobID JobID

获取作业的唯一 ID。Gets the unique ID for the job.

Machine Machine Machine Machine

获取正在运行作业的计算机的名称。Gets the name of the computer on which the job is running.

Name Name Name Name

获取与作业关联的报表的名称。Gets the name of the report with which a job is associated.

Path Path Path Path

获取与作业关联的报表的完整路径。Gets the full path to the report with which a job is associated.

StartDateTime StartDateTime StartDateTime StartDateTime

获取作业的启动日期和时间。Gets the date and time that the job started.

Status Status Status Status

获取描述作业状态的值。JobStatusEnumGets a JobStatusEnum value that describes the status of a job.

Type Type Type Type

获取描述作业类型的值。JobTypeEnumGets a JobTypeEnum value that describes the type of the job.

User User User User

获取或设置启动作业的经过身份验证的用户的 ID。Gets or sets the ID of the authenticated user who initiated the job.

适用于