DocumentClient.CreateDocumentChangeFeedQuery
Method
Definition
Overloads
| CreateDocumentChangeFeedQuery(String, ChangeFeedOptions) |
Overloaded. This method creates a change feed query for documents under a collection in an Azure DocumentDB database service. |
| CreateDocumentChangeFeedQuery(Uri, ChangeFeedOptions) |
Extension method to create a change feed query for documents in the Azure DocumentDB database service. |
CreateDocumentChangeFeedQuery(String, ChangeFeedOptions)
Overloaded. This method creates a change feed query for documents under a collection in an Azure DocumentDB database service.
public Microsoft.Azure.Documents.Linq.IDocumentQuery<Microsoft.Azure.Documents.Document> CreateDocumentChangeFeedQuery (string collectionLink, Microsoft.Azure.Documents.Client.ChangeFeedOptions feedOptions);
Parameters
- collectionLink
- String
Specifies the collection to read documents from.
- feedOptions
- ChangeFeedOptions
The options for processing the query results feed.
Returns
the query result set.
Remarks
ChangeFeedOptions.PartitionKeyRangeId must be provided.
CreateDocumentChangeFeedQuery(Uri, ChangeFeedOptions)
Extension method to create a change feed query for documents in the Azure DocumentDB database service.
public Microsoft.Azure.Documents.Linq.IDocumentQuery<Microsoft.Azure.Documents.Document> CreateDocumentChangeFeedQuery (Uri collectionLink, Microsoft.Azure.Documents.Client.ChangeFeedOptions feedOptions);
Parameters
- collectionLink
- Uri
Specifies the collection to read documents from.
- feedOptions
- ChangeFeedOptions
The options for processing the query results feed.
Returns
the query result set.