Share via


CopyActivity(String, CopySource, CopySink) Constructor

Definition

Initializes a new instance of CopyActivity.

public CopyActivity (string name, Azure.Analytics.Synapse.Artifacts.Models.CopySource source, Azure.Analytics.Synapse.Artifacts.Models.CopySink sink);
new Azure.Analytics.Synapse.Artifacts.Models.CopyActivity : string * Azure.Analytics.Synapse.Artifacts.Models.CopySource * Azure.Analytics.Synapse.Artifacts.Models.CopySink -> Azure.Analytics.Synapse.Artifacts.Models.CopyActivity
Public Sub New (name As String, source As CopySource, sink As CopySink)

Parameters

name
String

Activity name.

source
CopySource

Copy activity source. Please note CopySource 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 AmazonMWSSource, AmazonRdsForOracleSource, AmazonRdsForSqlServerSource, AmazonRedshiftSource, AvroSource, AzureBlobFSSource, AzureDatabricksDeltaLakeSource, AzureDataExplorerSource, AzureDataLakeStoreSource, AzureMariaDBSource, AzureMySqlSource, AzurePostgreSqlSource, AzureSqlSource, AzureTableSource, BinarySource, BlobSource, CassandraSource, CommonDataServiceForAppsSource, ConcurSource, CosmosDbMongoDbApiSource, CosmosDbSqlApiSource, CouchbaseSource, Db2Source, DelimitedTextSource, DocumentDbCollectionSource, DrillSource, DynamicsAXSource, DynamicsCrmSource, DynamicsSource, EloquaSource, ExcelSource, FileSystemSource, GoogleAdWordsSource, GoogleBigQuerySource, GoogleBigQueryV2Source, GreenplumSource, HBaseSource, HdfsSource, HiveSource, HttpSource, HubspotSource, ImpalaSource, InformixSource, JiraSource, JsonSource, LakeHouseTableSource, MagentoSource, MariaDBSource, MarketoSource, MicrosoftAccessSource, MongoDbAtlasSource, MongoDbSource, MongoDbV2Source, MySqlSource, NetezzaSource, ODataSource, OdbcSource, Office365Source, OracleServiceCloudSource, OracleSource, OrcSource, ParquetSource, PaypalSource, PhoenixSource, PostgreSqlSource, PostgreSqlV2Source, PrestoSource, QuickBooksSource, RelationalSource, ResponsysSource, RestSource, SalesforceMarketingCloudSource, SalesforceServiceCloudSource, SalesforceServiceCloudV2Source, SalesforceSource, SalesforceV2Source, SapBwSource, SapCloudForCustomerSource, SapEccSource, SapHanaSource, SapOdpSource, SapOpenHubSource, SapTableSource, ServiceNowSource, ServiceNowV2Source, SharePointOnlineListSource, ShopifySource, SnowflakeSource, SnowflakeV2Source, SparkSource, SqlDWSource, SqlMISource, SqlServerSource, SqlSource, SquareSource, SybaseSource, TabularSource, TeradataSource, VerticaSource, WarehouseSource, WebSource, XeroSource, XmlSource and ZohoSource.

Exceptions

name, source or sink is null.

Applies to