DocumentServiceQueryable.CreateTriggerQuery Method

Creates and returns a query for triggers.

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


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

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


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

Return Value

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