DocumentDbClient.GetDocumentsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get all documents (V3)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Documentdb.Models.GetDocumentsResponse> GetDocumentsAsync(string azureCosmosDBAccountName, string databaseId, string collectionId, bool? extractSensitivityLabel = default, string purviewAccountName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDocumentsAsync : string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Documentdb.Models.GetDocumentsResponse>
override this.GetDocumentsAsync : string * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Documentdb.Models.GetDocumentsResponse>
Public Overridable Function GetDocumentsAsync (azureCosmosDBAccountName As String, databaseId As String, collectionId As String, Optional extractSensitivityLabel As Nullable(Of Boolean) = Nothing, Optional purviewAccountName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetDocumentsResponse)
Parameters
- azureCosmosDBAccountName
- String
Azure Cosmos DB account name
- databaseId
- String
Database ID
- collectionId
- String
Collection ID
- purviewAccountName
- String
Purview Account Name
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get all documents (V3) response.
Remarks
Get all documents (V3).