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

SqlSource 构造函数

定义

重载

SqlSource()

初始化 SqlSource 类的新实例。

SqlSource(IDictionary<String,Object>, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, SqlPartitionSettings)

初始化 SqlSource 类的新实例。

SqlSource()

初始化 SqlSource 类的新实例。

public SqlSource ();
Public Sub New ()

适用于

SqlSource(IDictionary<String,Object>, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, SqlPartitionSettings)

初始化 SqlSource 类的新实例。

public SqlSource (System.Collections.Generic.IDictionary<string,object> additionalProperties = default, object sourceRetryCount = default, object sourceRetryWait = default, object maxConcurrentConnections = default, object disableMetricsCollection = default, object queryTimeout = default, object additionalColumns = default, object sqlReaderQuery = default, object sqlReaderStoredProcedureName = default, object storedProcedureParameters = default, object isolationLevel = default, object partitionOption = default, Microsoft.Azure.Management.DataFactory.Models.SqlPartitionSettings partitionSettings = default);
new Microsoft.Azure.Management.DataFactory.Models.SqlSource : System.Collections.Generic.IDictionary<string, obj> * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * obj * Microsoft.Azure.Management.DataFactory.Models.SqlPartitionSettings -> Microsoft.Azure.Management.DataFactory.Models.SqlSource
Public Sub New (Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional sourceRetryCount As Object = Nothing, Optional sourceRetryWait As Object = Nothing, Optional maxConcurrentConnections As Object = Nothing, Optional disableMetricsCollection As Object = Nothing, Optional queryTimeout As Object = Nothing, Optional additionalColumns As Object = Nothing, Optional sqlReaderQuery As Object = Nothing, Optional sqlReaderStoredProcedureName As Object = Nothing, Optional storedProcedureParameters As Object = Nothing, Optional isolationLevel As Object = Nothing, Optional partitionOption As Object = Nothing, Optional partitionSettings As SqlPartitionSettings = Nothing)

参数

additionalProperties
IDictionary<String,Object>

此集合反序列化消息中的不匹配属性

sourceRetryCount
Object

源重试计数。 类型:integer (或 expression with resultType integer) 。

sourceRetryWait
Object

源重试等待。 Type:string (或 expression with resultType string) ,pattern: ( (\d+) .) ? (\d\d) : (60| ([0-5][0-9]) ) : (60| ([0-5][0-9]) ) 。

maxConcurrentConnections
Object

源数据存储的最大并发连接计数。 类型:integer (或 expression with resultType integer) 。

disableMetricsCollection
Object

如果为 true,则禁用数据存储指标收集。 默认值为 false。 类型:布尔 (或 resultType 布尔) 表达式。

queryTimeout
Object

查询超时。 Type:string (或 expression with resultType string) ,pattern: ( (\d+) .) ? (\d\d) : (60| ([0-5][0-9]) ) : (60| ([0-5][0-9]) ) 。

additionalColumns
Object

指定要添加到源数据的其他列。 类型: (AdditionalColumns) (或 Expression 的对象数组,以及) 对象数组的 resultType。

sqlReaderQuery
Object

SQL 读取器查询。 类型:字符串 (或带有 resultType 字符串) 的表达式。

sqlReaderStoredProcedureName
Object

SQL 数据库源的存储过程的名称。 这不能与 SqlReaderQuery 同时使用。 类型:字符串 (或带有 resultType 字符串) 的表达式。

storedProcedureParameters
Object

存储过程参数的值和类型设置。 示例:“{Parameter1: {value: ”1“,类型:”int“}}”。

isolationLevel
Object

指定 SQL 源的事务锁定行为。 允许的值:ReadCommitted/ReadUncommitted/RepeatableRead/Serializable/Snapshot。 默认值为“ReadCommitted”。 类型:字符串 (或带有 resultType 字符串) 的表达式。

partitionOption
Object

将用于 Sql 并行读取的分区机制。 可能的值包括:“None”、“PhysicalPartitionsOfTable”、“DynamicRange”。

partitionSettings
SqlPartitionSettings

将用于 Sql 源分区的设置。

适用于