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

ManagedDatabaseColumnResource.EnableRecommendationManagedDatabaseSensitivityLabelAsync 方法

定义

对给定列启用敏感度建议, (默认在所有列上启用建议)

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable
  • 操作IdManagedDatabaseSensitivityLabels_EnableRecommendation
public virtual System.Threading.Tasks.Task<Azure.Response> EnableRecommendationManagedDatabaseSensitivityLabelAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member EnableRecommendationManagedDatabaseSensitivityLabelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.EnableRecommendationManagedDatabaseSensitivityLabelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function EnableRecommendationManagedDatabaseSensitivityLabelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

参数

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于