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

CopyActivity 构造函数

定义

重载

CopyActivity()

初始化 CopyActivity 类的新实例。

CopyActivity(String, CopySource, CopySink, IDictionary<String, Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, Object, Object, StagingSettings, Object, Object, Object, RedirectIncompatibleRowSettings, LogStorageSettings, LogSettings, IList<Object>, IList<Object>, Object, SkipErrorFile, IList<DatasetReference>, IList<DatasetReference>)

初始化 CopyActivity 类的新实例。

CopyActivity()

初始化 CopyActivity 类的新实例。

public CopyActivity ();
Public Sub New ()

适用于

CopyActivity(String, CopySource, CopySink, IDictionary<String, Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, Object, Object, StagingSettings, Object, Object, Object, RedirectIncompatibleRowSettings, LogStorageSettings, LogSettings, IList<Object>, IList<Object>, Object, SkipErrorFile, IList<DatasetReference>, IList<DatasetReference>)

初始化 CopyActivity 类的新实例。

public CopyActivity (string name, Microsoft.Azure.Management.DataFactory.Models.CopySource source, Microsoft.Azure.Management.DataFactory.Models.CopySink sink, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> userProperties = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference linkedServiceName = default, Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy policy = default, object translator = default, object enableStaging = default, Microsoft.Azure.Management.DataFactory.Models.StagingSettings stagingSettings = default, object parallelCopies = default, object dataIntegrationUnits = default, object enableSkipIncompatibleRow = default, Microsoft.Azure.Management.DataFactory.Models.RedirectIncompatibleRowSettings redirectIncompatibleRowSettings = default, Microsoft.Azure.Management.DataFactory.Models.LogStorageSettings logStorageSettings = default, Microsoft.Azure.Management.DataFactory.Models.LogSettings logSettings = default, System.Collections.Generic.IList<object> preserveRules = default, System.Collections.Generic.IList<object> preserve = default, object validateDataConsistency = default, Microsoft.Azure.Management.DataFactory.Models.SkipErrorFile skipErrorFile = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.DatasetReference> inputs = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.DatasetReference> outputs = default);
new Microsoft.Azure.Management.DataFactory.Models.CopyActivity : string * Microsoft.Azure.Management.DataFactory.Models.CopySource * Microsoft.Azure.Management.DataFactory.Models.CopySink * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy * obj * obj * Microsoft.Azure.Management.DataFactory.Models.StagingSettings * obj * obj * obj * Microsoft.Azure.Management.DataFactory.Models.RedirectIncompatibleRowSettings * Microsoft.Azure.Management.DataFactory.Models.LogStorageSettings * Microsoft.Azure.Management.DataFactory.Models.LogSettings * System.Collections.Generic.IList<obj> * System.Collections.Generic.IList<obj> * obj * Microsoft.Azure.Management.DataFactory.Models.SkipErrorFile * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.DatasetReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.DatasetReference> -> Microsoft.Azure.Management.DataFactory.Models.CopyActivity
Public Sub New (name As String, source As CopySource, sink As CopySink, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional description As String = Nothing, Optional dependsOn As IList(Of ActivityDependency) = Nothing, Optional userProperties As IList(Of UserProperty) = Nothing, Optional linkedServiceName As LinkedServiceReference = Nothing, Optional policy As ActivityPolicy = Nothing, Optional translator As Object = Nothing, Optional enableStaging As Object = Nothing, Optional stagingSettings As StagingSettings = Nothing, Optional parallelCopies As Object = Nothing, Optional dataIntegrationUnits As Object = Nothing, Optional enableSkipIncompatibleRow As Object = Nothing, Optional redirectIncompatibleRowSettings As RedirectIncompatibleRowSettings = Nothing, Optional logStorageSettings As LogStorageSettings = Nothing, Optional logSettings As LogSettings = Nothing, Optional preserveRules As IList(Of Object) = Nothing, Optional preserve As IList(Of Object) = Nothing, Optional validateDataConsistency As Object = Nothing, Optional skipErrorFile As SkipErrorFile = Nothing, Optional inputs As IList(Of DatasetReference) = Nothing, Optional outputs As IList(Of DatasetReference) = Nothing)

参数

name
String

活动名称。

source
CopySource

复制活动源。

sink
CopySink

复制活动接收器。

additionalProperties
IDictionary<String,Object>

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

description
String

活动说明。

dependsOn
IList<ActivityDependency>

活动取决于条件。

userProperties
IList<UserProperty>

活动用户属性。

linkedServiceName
LinkedServiceReference

链接服务引用。

policy
ActivityPolicy

活动策略。

translator
Object

复制活动翻译器。 如果未指定,则使用表格翻译器。

enableStaging
Object

指定是否通过临时暂存复制数据。 默认值为 false。 类型:boolean (或 expression with resultType boolean) 。

stagingSettings
StagingSettings

指定 EnableStaging 为 true 时的临时暂存设置。

parallelCopies
Object

在源或接收器上打开的最大并发会话数,以避免数据存储过载。 类型:具有 resultType 整数) 的整数 (或 Expression,最小值:0。

dataIntegrationUnits
Object

可用于执行此数据移动的数据集成单元的最大数目。 类型:具有 resultType 整数) 的整数 (或 Expression,最小值:0。

enableSkipIncompatibleRow
Object

是否跳过不兼容的行。 默认值为 false。 类型:boolean (或 expression with resultType boolean) 。

redirectIncompatibleRowSettings
RedirectIncompatibleRowSettings

当 EnableSkipIncompatibleRow 为 true 时,重定向不兼容行设置。

logStorageSettings
LogStorageSettings

(已弃用。请使用 LogSettings) 客户在启用会话日志时需要提供的日志存储设置。

logSettings
LogSettings

启用日志时,客户需要提供的日志设置。

preserveRules
IList<Object>

保留规则。

preserve
IList<Object>

保留规则。

validateDataConsistency
Object

是否启用数据一致性验证。 类型:boolean (或 expression with resultType boolean) 。

skipErrorFile
SkipErrorFile

指定数据一致性的容错。

inputs
IList<DatasetReference>

活动的输入列表。

outputs
IList<DatasetReference>

活动的输出列表。

适用于