DocumentClient.createStoredProcedure(String collectionLink, StoredProcedure storedProcedure, RequestOptions options) Method

Definition

Creates a stored procedure.

public ResourceResponse<StoredProcedure> createStoredProcedure(String collectionLink, StoredProcedure storedProcedure, RequestOptions options)

Parameters

collectionLink
String

the collection link.

storedProcedure
StoredProcedure

the stored procedure to create.

options
RequestOptions

the request options.

Returns

the resource response with the created stored procedure.

Exceptions

DocumentClientException

the document client exception.

Applies to