共用方式為


ManagedDatabaseColumnResource.EnableRecommendationManagedDatabaseSensitivityLabelAsync Method

Definition

Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable
  • Operation Id: ManagedDatabaseSensitivityLabels_EnableRecommendation
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseSensitivityLabelResource
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)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to