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)

public static IOrderedQueryable<Trigger> CreateTriggerQuery(
	this DocumentClient client,
	string collectionLink,
	FeedOptions feedOptions
)

Parameters

client
Type: Microsoft.Azure.Documents.Client.DocumentClient
The DocumentClient to use.
collectionLink
Type: System.String
The he self-link to the collection.
feedOptions
Type: Microsoft.Azure.Documents.Client.FeedOptions
The options for processing the query results feed.

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 https://msdn.microsoft.com/en-us/library/bb384936.aspx or https://msdn.microsoft.com/en-us/library/bb383977.aspx.
Show: