IDocumentClient.ReadUserDefinedFunctionAsync Method

Definition

Overloads

ReadUserDefinedFunctionAsync(String, RequestOptions)

Reads a UserDefinedFunction as an asynchronous operation in the Azure DocumentDB database service.

ReadUserDefinedFunctionAsync(Uri, RequestOptions)

Reads a UserDefinedFunction as an asynchronous operation in the Azure DocumentDB database service.

ReadUserDefinedFunctionAsync(String, RequestOptions)

Reads a UserDefinedFunction as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.UserDefinedFunction>> ReadUserDefinedFunctionAsync (string functionLink, Microsoft.Azure.Documents.Client.RequestOptions options = null);
Parameters
functionLink
String

The link to the User Defined Function to be read.

options
RequestOptions

(Optional) The RequestOptionsfor this request.

Returns

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

ReadUserDefinedFunctionAsync(Uri, RequestOptions)

Reads a UserDefinedFunction as an asynchronous operation in the Azure DocumentDB database service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.UserDefinedFunction>> ReadUserDefinedFunctionAsync (Uri functionUri, Microsoft.Azure.Documents.Client.RequestOptions options = null);
Parameters
functionUri
Uri

A URI to the User Defined Function resource to be read.

options
RequestOptions

(Optional) The RequestOptions for the request.

Returns

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