IDocumentClient.DeleteStoredProcedureAsync
Method
Definition
Overloads
| DeleteStoredProcedureAsync(String, RequestOptions) |
Delete a StoredProcedure as an asynchronous operation in the Azure DocumentDB database service. |
| DeleteStoredProcedureAsync(Uri, RequestOptions) |
Delete a stored procedure as an asynchronous operation in the Azure DocumentDB database service. |
DeleteStoredProcedureAsync(String, RequestOptions)
Delete a StoredProcedure as an asynchronous operation in the Azure DocumentDB database service.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.StoredProcedure>> DeleteStoredProcedureAsync (string storedProcedureLink, Microsoft.Azure.Documents.Client.RequestOptions options = null);
- storedProcedureLink
- String
The link of the StoredProcedure to delete. E.g. dbs/db_rid/colls/col_rid/sprocs/sproc_rid/
- options
- RequestOptions
(Optional) The RequestOptionsfor this request.
A System.Threading.Tasks containing a ResourceResponse<TResource> which will contain information about the request issued.
DeleteStoredProcedureAsync(Uri, RequestOptions)
Delete a stored procedure as an asynchronous operation in the Azure DocumentDB database service.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.ResourceResponse<Microsoft.Azure.Documents.StoredProcedure>> DeleteStoredProcedureAsync (Uri storedProcedureUri, Microsoft.Azure.Documents.Client.RequestOptions options = null);
- storedProcedureUri
- Uri
The URI of the stored procedure to delete.
- options
- RequestOptions
(Optional) The RequestOptions for the request.
The task object representing the service response for the asynchronous operation.