ISearchServices.CheckNameAvailabilityAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if Search service name is valid and is not in use asynchronously.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.ICheckNameAvailabilityResult> CheckNameAvailabilityAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.ICheckNameAvailabilityResult>
Public Function CheckNameAvailabilityAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ICheckNameAvailabilityResult)
Parameters
- name
- String
The Search service name to check.
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET