你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MongoDBV2LinkedService Constructor

Definition

Initializes a new instance of MongoDBV2LinkedService.

public MongoDBV2LinkedService (Azure.Core.Expressions.DataFactory.DataFactoryElement<string> connectionString, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> database);
new Azure.ResourceManager.DataFactory.Models.MongoDBV2LinkedService : Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.MongoDBV2LinkedService
Public Sub New (connectionString As DataFactoryElement(Of String), database As DataFactoryElement(Of String))

Parameters

connectionString
DataFactoryElement<String>

The MongoDB connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.

database
DataFactoryElement<String>

The name of the MongoDB database that you want to access. Type: string (or Expression with resultType string).

Exceptions

connectionString or database is null.

Applies to