DocumentClient.replacePermission(Permission permission, RequestOptions options) 方法

定义

Replaces a permission.

public ResourceResponse<Permission> replacePermission(Permission permission, RequestOptions options)

参数

permission
Permission

the permission to use.

options
RequestOptions

the request options.

返回

the resource response with the replaced permission.

例外

DocumentClientException

the document client exception.

适用于