Share via


SqlDatabaseColumnResource.EnableRecommendationSensitivityLabelAsync 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/servers/{serverName}/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable
  • Operation Id: SensitivityLabels_EnableRecommendation
  • Default Api Version: 2020-11-01-preview
  • Resource: SqlDatabaseSensitivityLabelResource
public virtual System.Threading.Tasks.Task<Azure.Response> EnableRecommendationSensitivityLabelAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member EnableRecommendationSensitivityLabelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.EnableRecommendationSensitivityLabelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function EnableRecommendationSensitivityLabelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to