DocumentServiceQueryable.CreateUserQuery Method

Creates and returns a query for users.

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


<ExtensionAttribute> _
Public Shared Function CreateUserQuery ( _
    client As DocumentClient, _
    databaseLink As String, _
    feedOptions As FeedOptions _
) As IOrderedQueryable(Of User)
Dim client As DocumentClient 
Dim databaseLink As String 
Dim feedOptions As FeedOptions 
Dim returnValue As IOrderedQueryable(Of User)

returnValue = client.CreateUserQuery(databaseLink, _
public static IOrderedQueryable<User> CreateUserQuery(
    this DocumentClient client,
    string databaseLink,
    FeedOptions feedOptions
static IOrderedQueryable<User^>^ CreateUserQuery(
    DocumentClient^ client, 
    String^ databaseLink, 
    FeedOptions^ feedOptions
static member CreateUserQuery : 
        client:DocumentClient * 
        databaseLink:string * 
        feedOptions:FeedOptions -> IOrderedQueryable<User> 
public static function CreateUserQuery(
    client : DocumentClient, 
    databaseLink : String, 
    feedOptions : FeedOptions
) : IOrderedQueryable<User>


  • databaseLink
    Type: System.String
    The self-link to the database.

Return Value

Type: System.Linq.IOrderedQueryable<User>
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

See Also


DocumentServiceQueryable Class

Microsoft.Azure.Documents.Linq Namespace