你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkspaceCollectionsOperationsExtensions.CheckNameAvailabilityAsync 方法

定义

验证指定的 Power BI 工作区集合名称是否有效且尚未使用。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameResponse> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string location, Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameRequest body, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.CheckNameResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IWorkspaceCollectionsOperations, location As String, body As CheckNameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameResponse)

参数

operations
IWorkspaceCollectionsOperations

此扩展方法的操作组。

location
String

Azure 位置

body
CheckNameRequest

检查名称可用性请求

cancellationToken
CancellationToken

取消标记。

返回

适用于