DocumentServiceQueryable.CreateUserDefinedFunctionQuery Method

Creates and returns a query for user-defined functions.

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


<ExtensionAttribute> _
Public Shared Function CreateUserDefinedFunctionQuery ( _
    client As DocumentClient, _
    collectionLink As String, _
    feedOptions As FeedOptions _
) As IOrderedQueryable(Of UserDefinedFunction)
Dim client As DocumentClient 
Dim collectionLink As String 
Dim feedOptions As FeedOptions 
Dim returnValue As IOrderedQueryable(Of UserDefinedFunction)

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


  • collectionLink
    Type: System.String
    The self-link to the collection.

Return Value

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