CosmosDbMongoDbApiLinkedService(Object, Object) 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 (object connectionString, object database);
new Azure.Analytics.Synapse.Artifacts.Models.CosmosDbMongoDbApiLinkedService : obj * obj -> Azure.Analytics.Synapse.Artifacts.Models.CosmosDbMongoDbApiLinkedService
Public Sub New (connectionString As Object, database As Object)
Parameters
- connectionString
- Object
The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.
- database
- Object
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.
Applies to
Azure SDK for .NET