CosmosDBMongoDBApiLinkedService Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of CosmosDBMongoDBApiLinkedService.
public CosmosDBMongoDBApiLinkedService (Azure.Core.Expressions.DataFactory.DataFactoryElement<string> connectionString, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> database);
new Azure.ResourceManager.DataFactory.Models.CosmosDBMongoDBApiLinkedService : Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.CosmosDBMongoDBApiLinkedService
Public Sub New (connectionString As DataFactoryElement(Of String), database As DataFactoryElement(Of String))
Parameters
- connectionString
- DataFactoryElement<String>
The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- database
- DataFactoryElement<String>
The name of the CosmosDB (MongoDB API) database that you want to access. Type: string (or Expression with resultType string).
Exceptions
connectionString
or database
is null.