Share via


MongoDBAtlasLinkedService Constructor

Definition

Initializes a new instance of MongoDBAtlasLinkedService.

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

Parameters

connectionString
DataFactoryElement<String>

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

database
DataFactoryElement<String>

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

Exceptions

connectionString or database is null.

Applies to