HostedServiceOperationsExtensions.CheckNameAvailability Method (IHostedServiceOperations, String)
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)
Syntax
public static HostedServiceCheckNameAvailabilityResponse CheckNameAvailability(
this IHostedServiceOperations operations,
string serviceName
)
public:
[ExtensionAttribute]
static HostedServiceCheckNameAvailabilityResponse^ CheckNameAvailability(
IHostedServiceOperations^ operations,
String^ serviceName
)
static member CheckNameAvailability :
operations:IHostedServiceOperations *
serviceName:string -> HostedServiceCheckNameAvailabilityResponse
<ExtensionAttribute>
Public Shared Function CheckNameAvailability (
operations As IHostedServiceOperations,
serviceName As String
) As HostedServiceCheckNameAvailabilityResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IHostedServiceOperationsThe IHostedServiceOperations object that specifies the cloud service operations.
serviceName
Type: System.StringThe name of the cloud service that you would like to use.
Return Value
Type: Microsoft.WindowsAzure.Management.Compute.Models.HostedServiceCheckNameAvailabilityResponse
The HostedServiceCheckNameAvailabilityResponse object that indicates whether the name is available.
Remarks
For more information about checking name availability, see Check Cloud Service Name Availability.
See Also
HostedServiceOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top