Share via


JobCollectionOperationsExtensions.CheckNameAvailability 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 JobCollectionCheckNameAvailabilityResponse CheckNameAvailability(
    this IJobCollectionOperations operations,
    string cloudServiceName,
    string jobCollectionName
)
public:
[ExtensionAttribute]
static JobCollectionCheckNameAvailabilityResponse^ CheckNameAvailability(
    IJobCollectionOperations^ operations,
    String^ cloudServiceName,
    String^ jobCollectionName
)
static member CheckNameAvailability : 
        operations:IJobCollectionOperations *
        cloudServiceName:string *
        jobCollectionName:string -> JobCollectionCheckNameAvailabilityResponse
<ExtensionAttribute>
Public Shared Function CheckNameAvailability (
    operations As IJobCollectionOperations,
    cloudServiceName As String,
    jobCollectionName As String
) As 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: Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse

The Check Name Availability operation response.

See Also

JobCollectionOperationsExtensions Class
Microsoft.WindowsAzure.Management.Scheduler Namespace

Return to top