共用方式為


MigrateSchemaSqlServerSqlDBTaskInput Constructor

Definition

Initializes a new instance of MigrateSchemaSqlServerSqlDBTaskInput.

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

Parameters

sourceConnectionInfo
SqlConnectionInfo

Information for connecting to source.

targetConnectionInfo
SqlConnectionInfo

Information for connecting to target.

selectedDatabases
IEnumerable<MigrateSchemaSqlServerSqlDBDatabaseInput>

Databases to migrate.

Exceptions

sourceConnectionInfo, targetConnectionInfo or selectedDatabases is null.

Applies to