共用方式為


CosmosDBMongoDBApiCollectionDataset Constructor

Definition

Initializes a new instance of CosmosDBMongoDBApiCollectionDataset.

public CosmosDBMongoDBApiCollectionDataset (Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> collection);
new Azure.ResourceManager.DataFactory.Models.CosmosDBMongoDBApiCollectionDataset : Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.CosmosDBMongoDBApiCollectionDataset
Public Sub New (linkedServiceName As DataFactoryLinkedServiceReference, collection As DataFactoryElement(Of String))

Parameters

linkedServiceName
DataFactoryLinkedServiceReference

Linked service reference.

collection
DataFactoryElement<String>

The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).

Exceptions

linkedServiceName or collection is null.

Applies to