你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MongoDbLinkedService 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MongoDbLinkedService() |
初始化 MongoDbLinkedService 类的新实例。 |
MongoDbLinkedService(Object, Object, IDictionary<String,Object>, IntegrationRuntimeReference, String, IDictionary<String,ParameterSpecification>, IList<Object>, String, Object, SecretBase, Object, Object, Object, Object, Object) |
初始化 MongoDbLinkedService 类的新实例。 |
MongoDbLinkedService()
初始化 MongoDbLinkedService 类的新实例。
public MongoDbLinkedService ();
Public Sub New ()
适用于
MongoDbLinkedService(Object, Object, IDictionary<String,Object>, IntegrationRuntimeReference, String, IDictionary<String,ParameterSpecification>, IList<Object>, String, Object, SecretBase, Object, Object, Object, Object, Object)
初始化 MongoDbLinkedService 类的新实例。
public MongoDbLinkedService (object server, object databaseName, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference connectVia = default, string description = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> parameters = default, System.Collections.Generic.IList<object> annotations = default, string authenticationType = default, object username = default, Microsoft.Azure.Management.DataFactory.Models.SecretBase password = default, object authSource = default, object port = default, object enableSsl = default, object allowSelfSignedServerCert = default, object encryptedCredential = default);
new Microsoft.Azure.Management.DataFactory.Models.MongoDbLinkedService : obj * obj * System.Collections.Generic.IDictionary<string, obj> * Microsoft.Azure.Management.DataFactory.Models.IntegrationRuntimeReference * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataFactory.Models.ParameterSpecification> * System.Collections.Generic.IList<obj> * string * obj * Microsoft.Azure.Management.DataFactory.Models.SecretBase * obj * obj * obj * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.MongoDbLinkedService
Public Sub New (server As Object, databaseName As Object, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional connectVia As IntegrationRuntimeReference = Nothing, Optional description As String = Nothing, Optional parameters As IDictionary(Of String, ParameterSpecification) = Nothing, Optional annotations As IList(Of Object) = Nothing, Optional authenticationType As String = Nothing, Optional username As Object = Nothing, Optional password As SecretBase = Nothing, Optional authSource As Object = Nothing, Optional port As Object = Nothing, Optional enableSsl As Object = Nothing, Optional allowSelfSignedServerCert As Object = Nothing, Optional encryptedCredential As Object = Nothing)
参数
- server
- Object
MongoDB 服务器的 IP 地址或服务器名称。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- databaseName
- Object
要访问的 MongoDB 数据库的名称。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- additionalProperties
- IDictionary<String,Object>
消息中的不匹配属性将对此集合进行反序列化
- connectVia
- IntegrationRuntimeReference
集成运行时引用。
- description
- String
链接服务说明。
- parameters
- IDictionary<String,ParameterSpecification>
链接服务的参数。
- authenticationType
- String
用于连接到 MongoDB 数据库的身份验证类型。 可能的值包括:“Basic”、“Anonymous”
- username
- Object
用于身份验证的用户名。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- password
- SecretBase
用于身份验证的密码。
- authSource
- Object
用于验证用户名和密码的数据库。 类型:包含 resultType 字符串) 的字符串 (或表达式。
- port
- Object
MongoDB 服务器用于侦听客户端连接的 TCP 端口号。 默认值为 27017。 类型:具有 resultType 整数) 的整数 (或 Expression,最小值:0。
- enableSsl
- Object
指定是否使用 SSL 加密到服务器的连接。 默认值为 false。 类型:boolean (或 expression with resultType boolean) 。
- allowSelfSignedServerCert
- Object
指定是否允许来自服务器的自签名证书。 默认值为 false。 类型:boolean (或 expression with resultType boolean) 。
- encryptedCredential
- Object
用于身份验证的加密凭据。 使用集成运行时凭据管理器加密凭据。 类型:包含 resultType 字符串) 的字符串 (或表达式。