IDocumentClient.ReadUserDefinedFunctionFeedAsync Method

Definition

Overloads

ReadUserDefinedFunctionFeedAsync(String, FeedOptions)

Reads the feed (sequence) of UserDefinedFunction for a collection as an asynchronous operation in the Azure DocumentDB database service.

ReadUserDefinedFunctionFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of user defined functions for a collection as an asynchronous operation in the Azure DocumentDB database service.

ReadUserDefinedFunctionFeedAsync(String, FeedOptions)

Reads the feed (sequence) of UserDefinedFunction for a collection as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.UserDefinedFunction>> ReadUserDefinedFunctionFeedAsync (string collectionLink, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
collectionLink
String

The link of the parent document collection resource.

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a UserDefinedFunction containing the read resource record.

ReadUserDefinedFunctionFeedAsync(Uri, FeedOptions)

Reads the feed (sequence) of user defined functions for a collection as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.UserDefinedFunction>> ReadUserDefinedFunctionFeedAsync (Uri documentCollectionUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
Parameters
documentCollectionUri
Uri

The URI of the parent document collection.

options
FeedOptions

(Optional) The FeedOptions for the request.

Returns

The task object representing the service response for the asynchronous operation.