Share via


ManagedDatabaseSensitivityLabelsOperationsExtensions.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.IManagedDatabaseSensitivityLabelsOperations operations, string resourceGroupName, string managedInstanceName, string databaseName, string schemaName, string tableName, string columnName, System.Threading.CancellationToken cancellationToken = default);
static member EnableRecommendationAsync : Microsoft.Azure.Management.Sql.IManagedDatabaseSensitivityLabelsOperations * string * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function EnableRecommendationAsync (operations As IManagedDatabaseSensitivityLabelsOperations, resourceGroupName As String, managedInstanceName As String, databaseName As String, schemaName As String, tableName As String, columnName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IManagedDatabaseSensitivityLabelsOperations

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.

managedInstanceName
String

The name of the managed instance.

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