CollectionOperations.

GetOrCreateDocumentCollectionIfNotExists(string, string, string, Nullable<int>) Method

Syntax

public DocumentCollection GetOrCreateDocumentCollectionIfNotExists(string database, string collection, string partitionKeyPath = null, Nullable<int> throughput = null)

Parameters

Name Type Description
database string
collection string
partitionKeyPath string
throughput Nullable<int>

Return Value

Type Description
DocumentCollection