Show / Hide Table of Contents

Class CosmosDbMongoDbApiLinkedService

Linked service for CosmosDB (MongoDB API) data source.

Inheritance
System.Object
LinkedService
CosmosDbMongoDbApiLinkedService
Inherited Members
LinkedService.AdditionalProperties
LinkedService.Annotations
LinkedService.ConnectVia
LinkedService.Description
LinkedService.Parameters
LinkedService.Version
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.CosmosDbMongoDbApiLinkedService/CosmosDbMongoDbApiLinkedServiceConverter))]
public class CosmosDbMongoDbApiLinkedService : Azure.Analytics.Synapse.Artifacts.Models.LinkedService

Constructors

CosmosDbMongoDbApiLinkedService(Object, Object)

Initializes a new instance of CosmosDbMongoDbApiLinkedService.

Declaration
public CosmosDbMongoDbApiLinkedService (object connectionString, object database);
Parameters
System.Object connectionString

The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.

System.Object database

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

Exceptions
System.ArgumentNullException

connectionString or database is null.

Properties

ConnectionString

The CosmosDB (MongoDB API) connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Type: string, SecureString or AzureKeyVaultSecretReference.

Declaration
public object ConnectionString { get; set; }
Property Value
System.Object

Database

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

Declaration
public object Database { get; set; }
Property Value
System.Object

Back to top Azure SDK for .NET