共用方式為


ServersOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Determines whether a resource can be created with the specified name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Sql.IServersOperations operations, Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Sql.IServersOperations * Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IServersOperations, parameters As CheckNameAvailabilityRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResponse)

Parameters

operations
IServersOperations

The operations group for this extension method.

parameters
CheckNameAvailabilityRequest

The name availability request parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to