JobCollectionOperationsExtensions.CheckNameAvailabilityAsync Method (IJobCollectionOperations, String, String)
Determine if the JobCollection name is available to be used. JobCollection names must be unique within a cloud-service.
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
public static Task<JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync( this IJobCollectionOperations operations, string cloudServiceName, string jobCollectionName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations
Reference to the Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations.
- cloudServiceName
-
Type:
System.String
Required. The name of the cloud service.
- jobCollectionName
-
Type:
System.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.
Return Value
Type: System.Threading.Tasks.Task<JobCollectionCheckNameAvailabilityResponse>The Check Name Availability operation response.
Show: