DocumentClient.upsertStoredProcedure(String collectionLink, StoredProcedure storedProcedure, RequestOptions options) 方法

定义

Upserts a stored procedure.

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

参数

collectionLink
String

the collection link.

storedProcedure
StoredProcedure

the stored procedure to upsert.

options
RequestOptions

the request options.

返回

the resource response with the upserted stored procedure.

例外

DocumentClientException

the document client exception.

适用于