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

SqlDatabaseResource.GetRecommendedSensitivityLabelsAsync 方法

定义

获取给定数据库的敏感度标签

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels
  • 操作IdSensitivityLabels_ListRecommendedByDatabase
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseSensitivityLabelResource> GetRecommendedSensitivityLabelsAsync (string skipToken = default, bool? includeDisabledRecommendations = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecommendedSensitivityLabelsAsync : string * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseSensitivityLabelResource>
override this.GetRecommendedSensitivityLabelsAsync : string * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseSensitivityLabelResource>
Public Overridable Function GetRecommendedSensitivityLabelsAsync (Optional skipToken As String = Nothing, Optional includeDisabledRecommendations As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlDatabaseSensitivityLabelResource)

参数

skipToken
String

要使用的字符串。

includeDisabledRecommendations
Nullable<Boolean>

指定是否包括禁用的建议。

filter
String

筛选集合中的元素的 OData 筛选器表达式。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 SqlDatabaseSensitivityLabelResource ,可能需要循环访问多个服务请求。

适用于