ResourceFeedReaderClientExtensions.CreateDocumentCollectionFeedReader Method (DocumentClient, String, FeedOptions)
Creates a Feed Reader for DocumentCollections in the Azure DocumentDB database service.
Namespace: Microsoft.Azure.Documents.Client
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Syntax
public static ResourceFeedReader<DocumentCollection> CreateDocumentCollectionFeedReader(
this DocumentClient client,
string collectionsLink,
FeedOptions options = null
)
public:
[ExtensionAttribute]
static ResourceFeedReader<DocumentCollection^>^ CreateDocumentCollectionFeedReader(
DocumentClient^ client,
String^ collectionsLink,
FeedOptions^ options = null
)
<ExtensionAttribute>
Public Shared Function CreateDocumentCollectionFeedReader (
client As DocumentClient,
collectionsLink As String,
options As FeedOptions
) As ResourceFeedReader(Of DocumentCollection)
Parameters
client
Type: Microsoft.Azure.Documents.Client.DocumentClientThe DocumentClient instance.
collectionsLink
Type: System.StringThe link for collections
options
Type: Microsoft.Azure.Documents.Client.FeedOptionsthe FeedOptions options for the request.
Return Value
Type: Microsoft.Azure.Documents.Client.ResourceFeedReader<DocumentCollection>
A ResourceFeedReader<T> instance.
See Also
ResourceFeedReaderClientExtensions Class
Microsoft.Azure.Documents.Client Namespace
Return to top