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)

Syntax

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

returnValue = client.CreateUserDefinedFunctionQuery(collectionLink, _
    feedOptions)
public static IOrderedQueryable<UserDefinedFunction> CreateUserDefinedFunctionQuery(
    this DocumentClient client,
    string collectionLink,
    FeedOptions feedOptions
)
[ExtensionAttribute]
public:
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>

Parameters

  • 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 https://msdn.microsoft.com/en-us/library/bb384936(v=azure.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=azure.100).

See Also

Reference

DocumentServiceQueryable Class

Microsoft.Azure.Documents.Linq Namespace