Freigeben über


MigrateSqlServerSqlMITaskInput Constructor

Definition

Initializes a new instance of MigrateSqlServerSqlMITaskInput.

public MigrateSqlServerSqlMITaskInput(Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInfo sourceConnectionInfo, Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInfo targetConnectionInfo, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, Azure.ResourceManager.DataMigration.Models.DataMigrationBlobShare backupBlobShare);
new Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMITaskInput : Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInfo * Azure.ResourceManager.DataMigration.Models.DataMigrationSqlConnectionInfo * seq<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> * Azure.ResourceManager.DataMigration.Models.DataMigrationBlobShare -> Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMITaskInput
Public Sub New (sourceConnectionInfo As DataMigrationSqlConnectionInfo, targetConnectionInfo As DataMigrationSqlConnectionInfo, selectedDatabases As IEnumerable(Of MigrateSqlServerSqlMIDatabaseInput), backupBlobShare As DataMigrationBlobShare)

Parameters

sourceConnectionInfo
DataMigrationSqlConnectionInfo

Information for connecting to source.

targetConnectionInfo
DataMigrationSqlConnectionInfo

Information for connecting to target.

selectedDatabases
IEnumerable<MigrateSqlServerSqlMIDatabaseInput>

Databases to migrate.

backupBlobShare
DataMigrationBlobShare

SAS URI of Azure Storage Account Container to be used for storing backup files.

Exceptions

sourceConnectionInfo, targetConnectionInfo, selectedDatabases or backupBlobShare is null.

Applies to