Share via


SensitivityLabelsOperationsExtensions.EnableRecommendationAsync Method

Definition

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

public static System.Threading.Tasks.Task EnableRecommendationAsync (this Microsoft.Azure.Management.Sql.ISensitivityLabelsOperations operations, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string columnName, System.Threading.CancellationToken cancellationToken = default);
static member EnableRecommendationAsync : Microsoft.Azure.Management.Sql.ISensitivityLabelsOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function EnableRecommendationAsync (operations As ISensitivityLabelsOperations, resourceGroupName As String, serverName As String, databaseName As String, schemaName As String, tableName As String, columnName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ISensitivityLabelsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName
String

The name of the server.

databaseName
String

The name of the database.

schemaName
String

The name of the schema.

tableName
String

The name of the table.

columnName
String

The name of the column.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to