JobScheduleOperations.existsJobSchedule 方法

定义

重载

existsJobSchedule(String jobScheduleId)

Checks whether the specified job schedule exists.

existsJobSchedule(String jobScheduleId, Iterable<BatchClientBehavior> additionalBehaviors)

Checks whether the specified job schedule exists.

existsJobSchedule(String jobScheduleId)

Checks whether the specified job schedule exists.

public boolean existsJobSchedule(String jobScheduleId)

参数

jobScheduleId
String

The ID of the job schedule which you want to check.

返回

boolean

True if the specified job schedule exists; otherwise, false.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

existsJobSchedule(String jobScheduleId, Iterable<BatchClientBehavior> additionalBehaviors)

Checks whether the specified job schedule exists.

public boolean existsJobSchedule(String jobScheduleId, Iterable<BatchClientBehavior> additionalBehaviors)

参数

jobScheduleId
String

The ID of the job schedule which you want to check.

additionalBehaviors
Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

返回

boolean

True if the specified job schedule exists; otherwise, false.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

适用于