DocumentServiceQueryable.CreateDatabaseQuery Method

Creates and returns a query for databases.

Namespace:  Microsoft.Azure.Documents.Linq
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

public static IOrderedQueryable<Database> CreateDatabaseQuery(
	this DocumentClient client,
	FeedOptions feedOptions


Type: Microsoft.Azure.Documents.Client.DocumentClient
The DocumentClient to use.
Type: Microsoft.Azure.Documents.Client.FeedOptions
The options for processing the query results feed.

Return Value

Type: System.Linq.IOrderedQueryable<Database>
The query result set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DocumentClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see or