DocumentClient.createCollection(String databaseLink, DocumentCollection collection, RequestOptions options) 方法

定义

Creates a document collection.

public ResourceResponse<DocumentCollection> createCollection(String databaseLink, DocumentCollection collection, RequestOptions options)

参数

databaseLink
String

the database link.

collection
DocumentCollection

the collection.

options
RequestOptions

the request options.

返回

the resource response with the created collection.

例外

DocumentClientException

the document client exception.

适用于