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.Models.SensitivityLabel>>> ListCurrentByDatabaseWithHttpMessagesAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Sql.Models.SensitivityLabel> odataQuery = default, string skipToken = default, bool? count = 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.Models.SensitivityLabel> * string * Nullable<bool> * 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.Models.SensitivityLabel>>>
Public Function ListCurrentByDatabaseWithHttpMessagesAsync (resourceGroupName As String, serverName As String, databaseName As String, Optional odataQuery As ODataQuery(Of SensitivityLabel) = Nothing, Optional skipToken As String = Nothing, Optional count As Nullable(Of Boolean) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of SensitivityLabel)))

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<SensitivityLabel>

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

skipToken
String
count
Nullable<Boolean>
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 status non valide

Levée lorsque la réponse ne peut pas être désérialisée

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

S’applique à