DocumentClient.deleteCollection(String collectionLink, RequestOptions options) Method

Definition

Deletes a document collection by the collection link.

public ResourceResponse<DocumentCollection> deleteCollection(String collectionLink, RequestOptions options)

Parameters

collectionLink
String

the collection link.

options
RequestOptions

the request options.

Returns

the resource response.

Exceptions

DocumentClientException

the document client exception.

Applies to