共用方式為


MigrateSqlServerSqlMITaskInput Constructor

Definition

Initializes a new instance of MigrateSqlServerSqlMITaskInput.

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

Parameters

sourceConnectionInfo
SqlConnectionInfo

Information for connecting to source.

targetConnectionInfo
SqlConnectionInfo

Information for connecting to target.

selectedDatabases
IEnumerable<MigrateSqlServerSqlMIDatabaseInput>

Databases to migrate.

backupBlobShare
BlobShare

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

Exceptions

sourceConnectionInfo, targetConnectionInfo, selectedDatabases or backupBlobShare is null.

Applies to