HostedServiceOperationsExtensions.CheckNameAvailability Method (IHostedServiceOperations, String)
Checks for the availability of the specified cloud service name.
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
<ExtensionAttribute> Public Shared Function CheckNameAvailability ( operations As IHostedServiceOperations, serviceName As String ) As 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: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCheckNameAvailabilityResponseThe HostedServiceCheckNameAvailabilityResponse object that indicates whether the name is available.
For more information about checking name availability, see Check Cloud Service Name Availability.
Show: