共用方式為


CheckNameAvailabilityResponse Constructors

Definition

Overloads

CheckNameAvailabilityResponse()

Initializes a new instance of the CheckNameAvailabilityResponse class.

CheckNameAvailabilityResponse(String, Nullable<Boolean>, Nullable<CheckNameAvailabilityReason>, String)

Initializes a new instance of the CheckNameAvailabilityResponse class.

CheckNameAvailabilityResponse()

Initializes a new instance of the CheckNameAvailabilityResponse class.

public CheckNameAvailabilityResponse ();
Public Sub New ()

Applies to

CheckNameAvailabilityResponse(String, Nullable<Boolean>, Nullable<CheckNameAvailabilityReason>, String)

Initializes a new instance of the CheckNameAvailabilityResponse class.

public CheckNameAvailabilityResponse (string name = default, bool? available = default, Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityReason? reason = default, string message = default);
new Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse : string * Nullable<bool> * Nullable<Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityReason> * string -> Microsoft.Azure.Management.Sql.Models.CheckNameAvailabilityResponse
Public Sub New (Optional name As String = Nothing, Optional available As Nullable(Of Boolean) = Nothing, Optional reason As Nullable(Of CheckNameAvailabilityReason) = Nothing, Optional message As String = Nothing)

Parameters

name
String

The name whose availability was checked.

available
Nullable<Boolean>

True if the name is available, otherwise false.

reason
Nullable<CheckNameAvailabilityReason>

The reason code explaining why the name is unavailable. Will be undefined if the name is available. Possible values include: 'Invalid', 'AlreadyExists'

message
String

A message explaining why the name is unavailable. Will be undefined if the name is available.

Applies to