共用方式為


MigrateSqlServerSqlMISyncTaskInput Constructor

Definition

Initializes a new instance of MigrateSqlServerSqlMISyncTaskInput.

public MigrateSqlServerSqlMISyncTaskInput (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, string storageResourceId, Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo sourceConnectionInfo, Azure.ResourceManager.DataMigration.Models.MISqlConnectionInfo targetConnectionInfo, Azure.ResourceManager.DataMigration.Models.AzureActiveDirectoryApp azureApp);
new Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMISyncTaskInput : seq<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> * string * Azure.ResourceManager.DataMigration.Models.SqlConnectionInfo * Azure.ResourceManager.DataMigration.Models.MISqlConnectionInfo * Azure.ResourceManager.DataMigration.Models.AzureActiveDirectoryApp -> Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlMISyncTaskInput
Public Sub New (selectedDatabases As IEnumerable(Of MigrateSqlServerSqlMIDatabaseInput), storageResourceId As String, sourceConnectionInfo As SqlConnectionInfo, targetConnectionInfo As MISqlConnectionInfo, azureApp As AzureActiveDirectoryApp)

Parameters

selectedDatabases
IEnumerable<MigrateSqlServerSqlMIDatabaseInput>

Databases to migrate.

storageResourceId
String

Fully qualified resourceId of storage.

sourceConnectionInfo
SqlConnectionInfo

Connection information for source SQL Server.

targetConnectionInfo
MISqlConnectionInfo

Connection information for Azure SQL Database Managed Instance.

azureApp
AzureActiveDirectoryApp

Azure Active Directory Application the DMS instance will use to connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage Account.

Exceptions

selectedDatabases, storageResourceId, sourceConnectionInfo, targetConnectionInfo or azureApp is null.

Applies to