Share via


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.

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

Syntax

public static Task<JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync(
    this IJobCollectionOperations operations,
    string cloudServiceName,
    string jobCollectionName
)
public:
[ExtensionAttribute]
static Task<JobCollectionCheckNameAvailabilityResponse^>^ CheckNameAvailabilityAsync(
    IJobCollectionOperations^ operations,
    String^ cloudServiceName,
    String^ jobCollectionName
)
static member CheckNameAvailabilityAsync : 
        operations:IJobCollectionOperations *
        cloudServiceName:string *
        jobCollectionName:string -> Task<JobCollectionCheckNameAvailabilityResponse>
<ExtensionAttribute>
Public Shared Function CheckNameAvailabilityAsync (
    operations As IJobCollectionOperations,
    cloudServiceName As String,
    jobCollectionName As String
) As Task(Of JobCollectionCheckNameAvailabilityResponse)

Parameters

  • 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.

See Also

JobCollectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Scheduler Namespace

Return to top