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)
Syntax
Task<JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync(
string cloudServiceName,
string jobCollectionName,
CancellationToken cancellationToken
)
Task<JobCollectionCheckNameAvailabilityResponse^>^ CheckNameAvailabilityAsync(
String^ cloudServiceName,
String^ jobCollectionName,
CancellationToken cancellationToken
)
abstract CheckNameAvailabilityAsync :
cloudServiceName:string *
jobCollectionName:string *
cancellationToken:CancellationToken -> Task<JobCollectionCheckNameAvailabilityResponse>
Function CheckNameAvailabilityAsync (
cloudServiceName As String,
jobCollectionName As String,
cancellationToken As CancellationToken
) As Task(Of JobCollectionCheckNameAvailabilityResponse)
Parameters
cloudServiceName
Type: System.StringThe name of the cloud service.
jobCollectionName
Type: System.StringA 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.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<JobCollectionCheckNameAvailabilityResponse>
The Check Name Availability operation response.
See Also
IJobCollectionOperations Interface
Microsoft.WindowsAzure.Management.Scheduler Namespace
Return to top