共用方式為


Db2LinkedService Class

Definition

Linked service for DB2 data source.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.Db2LinkedService+Db2LinkedServiceConverter))]
public class Db2LinkedService : Azure.Analytics.Synapse.Artifacts.Models.LinkedService
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.Db2LinkedService+Db2LinkedServiceConverter))>]
type Db2LinkedService = class
    inherit LinkedService
Public Class Db2LinkedService
Inherits LinkedService
Inheritance
Db2LinkedService
Attributes

Constructors

Db2LinkedService(Object, Object)

Initializes a new instance of Db2LinkedService.

Properties

AdditionalProperties

Additional Properties.

(Inherited from LinkedService)
Annotations

List of tags that can be used for describing the linked service.

(Inherited from LinkedService)
AuthenticationType

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

CertificateCommonName

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

ConnectionString

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

ConnectVia

The integration runtime reference.

(Inherited from LinkedService)
Database

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

Description

Linked service description.

(Inherited from LinkedService)
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).

PackageCollection

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

Parameters

Parameters for linked service.

(Inherited from LinkedService)
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.

Server

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

Username

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

Applies to