Partager via


ISensitivityLabelsOperations.ListCurrentByDatabaseWithHttpMessagesAsync Méthode

Définition

Obtient les étiquettes de confidentialité d’une base de données donnée

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner>>> ListCurrentByDatabaseWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListCurrentByDatabaseWithHttpMessagesAsync : string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Fluent.Models.SensitivityLabelInner>>>
Public Function ListCurrentByDatabaseWithHttpMessagesAsync (resourceGroupName As String, serverName As String, databaseName As String, Optional odataQuery As ODataQuery(Of SensitivityLabelInner) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SensitivityLabelInner)))

Paramètres

resourceGroupName
String

Nom du groupe de ressources qui contient la ressource. Vous pouvez obtenir cette valeur à partir de l’API Azure Resource Manager ou du portail.

serverName
String

Le nom du serveur

databaseName
String

Nom de la base de données.

odataQuery
ODataQuery<SensitivityLabelInner>

Paramètres OData à appliquer à l’opération.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à