你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Db2LinkedService 类

定义

DB2 数据源的链接服务。

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Db2")]
public class Db2LinkedService : Microsoft.Azure.Management.DataFactory.Models.LinkedService
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Db2")>]
type Db2LinkedService = class
    inherit LinkedService
Public Class Db2LinkedService
Inherits LinkedService
继承
Db2LinkedService
属性
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

构造函数

Db2LinkedService()

初始化 Db2LinkedService 类的新实例。

Db2LinkedService(IDictionary<String,Object>, IntegrationRuntimeReference, String, IDictionary<String,ParameterSpecification>, IList<Object>, Object, Object, Object, String, Object, SecretBase, Object, Object, Object)

初始化 Db2LinkedService 类的新实例。

属性

AdditionalProperties

获取或设置此集合反序列化的消息中的不匹配属性

(继承自 LinkedService)
Annotations

获取或设置可用于描述链接服务的标记列表。

(继承自 LinkedService)
AuthenticationType

获取或设置要用于连接的 authenticationType。 它与 connectionString 属性互斥。 可能的值包括:“Basic”

CertificateCommonName

获取或设置启用 TLS 时的证书公用名。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

ConnectionString

获取或设置连接字符串。 它与 server、database、authenticationType、userName、packageCollection 和 certificateCommonName 属性互斥。 类型:string、SecureString 或 AzureKeyVaultSecretReference。

ConnectVia

获取或设置集成运行时引用。

(继承自 LinkedService)
Database

获取或设置连接的数据库名称。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

Description

获取或设置链接服务说明。

(继承自 LinkedService)
EncryptedCredential

获取或设置用于身份验证的加密凭据。 使用集成运行时凭据管理器加密凭据。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

PackageCollection

获取或设置查询数据库时创建包的位置。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

Parameters

获取或设置链接服务的参数。

(继承自 LinkedService)
Password

获取或设置用于身份验证的密码。

Server

获取或设置连接的服务器名称。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

Username

获取或设置用于身份验证的用户名。 它与 connectionString 属性互斥。 类型:字符串 (或带有 resultType 字符串) 的表达式。

方法

Validate()

验证 对象。

适用于