Show / Hide Table of Contents

Class Db2LinkedService

Linked service for DB2 data source.

Inheritance
System.Object
LinkedService
Db2LinkedService
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.Db2LinkedService/Db2LinkedServiceConverter))]
public class Db2LinkedService : Azure.Analytics.Synapse.Artifacts.Models.LinkedService

Constructors

Db2LinkedService(Object, Object)

Initializes a new instance of Db2LinkedService.

Declaration
public Db2LinkedService (object server, object database);
Parameters
System.Object server

Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

System.Object database

Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

Exceptions
System.ArgumentNullException

server or database is null.

Properties

AuthenticationType

AuthenticationType to be used for connection. It is mutually exclusive with connectionString property.

Declaration
public Nullable<Azure.Analytics.Synapse.Artifacts.Models.Db2AuthenticationType> AuthenticationType { get; set; }
Property Value
System.Nullable<Db2AuthenticationType>

CertificateCommonName

Certificate Common Name when TLS is enabled. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

ConnectionString

The connection string. It is mutually exclusive with server, database, authenticationType, userName, packageCollection and certificateCommonName property. Type: string, SecureString or AzureKeyVaultSecretReference.

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

Database

Database name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

EncryptedCredential

The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

PackageCollection

Under where packages are created when querying database. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

Password

Password for authentication. Please note SecretBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureKeyVaultSecretReference and SecureString.

Declaration
public Azure.Analytics.Synapse.Artifacts.Models.SecretBase Password { get; set; }
Property Value
SecretBase

Server

Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

Username

Username for authentication. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).

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

Back to top Azure SDK for .NET