共用方式為


MigrateSqlServerSqlDBTaskInput Constructor

Definition

Initializes a new instance of MigrateSqlServerSqlDBTaskInput.

public MigrateSqlServerSqlDBTaskInput (Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo sourceConnectionInfo, Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo targetConnectionInfo, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBDatabaseInput> selectedDatabases);
new Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBTaskInput : Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo * Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo * seq<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBDatabaseInput> -> Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBTaskInput
Public Sub New (sourceConnectionInfo As SqlConnectionInfo, targetConnectionInfo As SqlConnectionInfo, selectedDatabases As IEnumerable(Of MigrateSqlServerSqlDBDatabaseInput))

Parameters

sourceConnectionInfo
SqlConnectionInfo

Information for connecting to source.

targetConnectionInfo
SqlConnectionInfo

Information for connecting to target.

selectedDatabases
IEnumerable<MigrateSqlServerSqlDBDatabaseInput>

Databases to migrate.

Exceptions

sourceConnectionInfo, targetConnectionInfo or selectedDatabases is null.

Applies to