HostedServiceOperationsExtensions.CheckNameAvailability Method
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)
Usage
'Usage
Dim operations As IHostedServiceOperations
Dim serviceName As String
Dim returnValue As HostedServiceCheckNameAvailabilityResponse
returnValue = HostedServiceOperationsExtensions.CheckNameAvailability(operations, serviceName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CheckNameAvailability ( _
operations As IHostedServiceOperations, _
serviceName As String _
) As HostedServiceCheckNameAvailabilityResponse
[ExtensionAttribute]
public static HostedServiceCheckNameAvailabilityResponse CheckNameAvailability (
IHostedServiceOperations operations,
string serviceName
)
[ExtensionAttribute]
public:
static HostedServiceCheckNameAvailabilityResponse^ CheckNameAvailability (
IHostedServiceOperations^ operations,
String^ serviceName
)
/** @attribute ExtensionAttribute() */
public static HostedServiceCheckNameAvailabilityResponse CheckNameAvailability (
IHostedServiceOperations operations,
String serviceName
)
ExtensionAttribute
public static function CheckNameAvailability (
operations : IHostedServiceOperations,
serviceName : String
) : HostedServiceCheckNameAvailabilityResponse
Parameters
- operations
The IHostedServiceOperations object that specifies the cloud service operations.
- serviceName
The name of the cloud service that you would like to use.
Return Value
The HostedServiceCheckNameAvailabilityResponse object that indicates whether the name is available.
Remarks
For more information about checking name availability, see Check Cloud Service Name Availability.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
HostedServiceOperationsExtensions Class
HostedServiceOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace