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);
- triggerUri
- Uri
A URI to the Trigger resource to be read.
- options
- RequestOptions
(Optional) The RequestOptions for the request.
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);
- triggerLink
- String
The link to the Trigger to be read.
- options
- RequestOptions
(Optional) The RequestOptionsfor this request.
A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a Trigger containing the read resource record.