Udostępnij za pośrednictwem


JobCollectionOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Determine if the JobCollection name is available to be used. JobCollection names must be unique within a cloud-service.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations operations, string cloudServiceName, string jobCollectionName);
static member CheckNameAvailabilityAsync : Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IJobCollectionOperations, cloudServiceName As String, jobCollectionName As String) As Task(Of JobCollectionCheckNameAvailabilityResponse)

Parameters

operations
IJobCollectionOperations

Reference to the Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations.

cloudServiceName
String

Required. The name of the cloud service.

jobCollectionName
String

Required. A name for the JobCollection. The name must be unique as scoped within the CloudService. The name can be up to 100 characters in length.

Returns

The Check Name Availability operation response.

Applies to