IDocumentClient.ReadTriggerAsync Method

Definition

Overloads

ReadTriggerAsync(Uri, RequestOptions)

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

ReadTriggerAsync(String, RequestOptions)

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

ReadTriggerAsync(Uri, RequestOptions)

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

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.Trigger>> ReadTriggerAsync (Uri triggerUri, Microsoft.Azure.Documents.Client.RequestOptions options = null);
Parameters
triggerUri
Uri

A URI to the Trigger resource to be read.

options
RequestOptions

(Optional) The RequestOptions for the request.

Returns

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

ReadTriggerAsync(String, RequestOptions)

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

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

The link to the Trigger to be read.

options
RequestOptions

(Optional) The RequestOptionsfor this request.

Returns

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