HostedServiceOperationsExtensions.CheckNameAvailabilityAsync Method (IHostedServiceOperations, String)

 

Asynchronously checks for the availability of the specified cloud service name.

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

<ExtensionAttribute>
Public Shared Function CheckNameAvailabilityAsync (
	operations As IHostedServiceOperations,
	serviceName As String
) As Task(Of HostedServiceCheckNameAvailabilityResponse)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperations

The IHostedServiceOperations object that specifies the cloud service operations.

serviceName
Type: System.String

The name of the cloud service that you would like to use.

Return Value

Type: System.Threading.Tasks.Task(Of HostedServiceCheckNameAvailabilityResponse)

The HostedServiceCheckNameAvailabilityResponse object that indicates whether the name is available.

For more information about checking name availability, see Check Cloud Service Name Availability.

Return to top
Show: