IJobCollectionOperations::CheckNameAvailabilityAsync Method (String^, String^, CancellationToken)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Scheduler
Assembly:  Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Task<JobCollectionCheckNameAvailabilityResponse^>^ CheckNameAvailabilityAsync(
	String^ cloudServiceName,
	String^ jobCollectionName,
	CancellationToken cancellationToken
)

Parameters

cloudServiceName
Type: System::String^

The name of the cloud service.

jobCollectionName
Type: System::String^

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.

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks::Task<JobCollectionCheckNameAvailabilityResponse^>^

The Check Name Availability operation response.

Return to top
Show: