IDocumentClient.DeleteTriggerAsync
Method
Definition
Overloads
| DeleteTriggerAsync(String, RequestOptions) |
Delete a Trigger as an asynchronous operation in the Azure DocumentDB database service. |
| DeleteTriggerAsync(Uri, RequestOptions) |
Delete a trigger as an asynchronous operation in the Azure DocumentDB database service. |
DeleteTriggerAsync(String, RequestOptions)
Delete 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>> DeleteTriggerAsync (string triggerLink, Microsoft.Azure.Documents.Client.RequestOptions options = null);
- triggerLink
- String
The link of the Trigger to delete. E.g. dbs/db_rid/colls/col_rid/triggers/trigger_rid/
- options
- RequestOptions
(Optional) The RequestOptionsfor this request.
A System.Threading.Tasks containing a ResourceResponse<TResource> which will contain information about the request issued.
DeleteTriggerAsync(Uri, RequestOptions)
Delete 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>> DeleteTriggerAsync (Uri triggerUri, Microsoft.Azure.Documents.Client.RequestOptions options = null);
- triggerUri
- Uri
The URI of the trigger to delete.
- options
- RequestOptions
(Optional) The RequestOptions for the request.
The task object representing the service response for the asynchronous operation.