Partilhar via


SensitivityLabelsOperationsExtensions.ListCurrentByDatabaseAsync Método

Definição

Obtém os rótulos de confidencialidade de um determinado banco de dados

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner>> ListCurrentByDatabaseAsync (this Microsoft.Azure.Management.Sql.Fluent.ISensitivityLabelsOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListCurrentByDatabaseAsync : Microsoft.Azure.Management.Sql.Fluent.ISensitivityLabelsOperations * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner>>
<Extension()>
Public Function ListCurrentByDatabaseAsync (operations As ISensitivityLabelsOperations, resourceGroupName As String, serverName As String, databaseName As String, Optional odataQuery As ODataQuery(Of SensitivityLabelInner) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SensitivityLabelInner))

Parâmetros

operations
ISensitivityLabelsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos que contém o recurso. Você pode obter esse valor por meio da API do Gerenciador de Recursos do Azure ou por meio do portal.

serverName
String

O nome do servidor.

databaseName
String

O nome do banco de dados.

odataQuery
ODataQuery<SensitivityLabelInner>

Parâmetros OData a serem aplicados à operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a