DocumentClient.createDatabase(Database database, RequestOptions options) Method

Definition

Creates a database.

public ResourceResponse<Database> createDatabase(Database database, RequestOptions options)

Parameters

database
Database

the database.

options
RequestOptions

the request options.

Returns

the resource response with the created database.

Exceptions

DocumentClientException

the document client exception.

Applies to