Udostępnij za pośrednictwem


HostedServiceOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

The Check Hosted Service Name Availability operation checks for the availability of the specified cloud service name. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154116.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations operations, string serviceName);
static member CheckNameAvailabilityAsync : Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IHostedServiceOperations, serviceName As String) As Task(Of HostedServiceCheckNameAvailabilityResponse)

Parameters

operations
IHostedServiceOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations.

serviceName
String

Required. The cloud service name that you would like to use.

Returns

The Check Hosted Service Name Availability operation response.

Applies to