Dela via


IWithChildResource<ParentT>.DefineNewCollection(String) Method

Definition

Defines a new mongo collection.

public Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IBlank<Microsoft.Azure.Management.CosmosDB.Fluent.MongoDB.Definition.IWithAttach<ParentT>> DefineNewCollection (string name);
abstract member DefineNewCollection : string -> Microsoft.Azure.Management.CosmosDB.Fluent.MongoCollection.Definition.IBlank<Microsoft.Azure.Management.CosmosDB.Fluent.MongoDB.Definition.IWithAttach<'ParentT>>
Public Function DefineNewCollection (name As String) As IBlank(Of IWithAttach(Of ParentT))

Parameters

name
String

The name of the mongo collection.

Returns

IBlank<IWithAttach<ParentT>>

The next stage of the definition.

Applies to