/// <summary>
 /// Initializes a new instance of the SqlServerSqlMISyncTaskInput
 /// class.
 /// </summary>
 /// <param name="selectedDatabases">Databases to migrate</param>
 /// <param name="storageResourceId">Fully qualified resourceId of
 /// storage</param>
 /// <param name="sourceConnectionInfo">Connection information for
 /// source SQL Server</param>
 /// <param name="targetConnectionInfo">Connection information for Azure
 /// SQL Database Managed Instance</param>
 /// <param name="azureApp">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</param>
 /// <param name="backupFileShare">Backup file share information for all
 /// selected databases.</param>
 public SqlServerSqlMISyncTaskInput(IList <MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, string storageResourceId, SqlConnectionInfo sourceConnectionInfo, MiSqlConnectionInfo targetConnectionInfo, AzureActiveDirectoryApp azureApp, FileShare backupFileShare = default(FileShare))
 {
     SelectedDatabases    = selectedDatabases;
     BackupFileShare      = backupFileShare;
     StorageResourceId    = storageResourceId;
     SourceConnectionInfo = sourceConnectionInfo;
     TargetConnectionInfo = targetConnectionInfo;
     AzureApp             = azureApp;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the ConnectToTargetSqlMISyncTaskInput
 /// class.
 /// </summary>
 /// <param name="targetConnectionInfo">Connection information for Azure
 /// SQL Database Managed Instance</param>
 /// <param name="azureApp">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</param>
 public ConnectToTargetSqlMISyncTaskInput(MiSqlConnectionInfo targetConnectionInfo, AzureActiveDirectoryApp azureApp)
 {
     TargetConnectionInfo = targetConnectionInfo;
     AzureApp             = azureApp;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MigrateSqlServerSqlMISyncTaskInput class.
 /// </summary>
 /// <param name="selectedDatabases">Databases to migrate</param>
 /// <param name="storageResourceId">Fully qualified resourceId of
 /// storage</param>
 /// <param name="sourceConnectionInfo">Connection information for
 /// source SQL Server</param>
 /// <param name="targetConnectionInfo">Connection information for Azure
 /// SQL Database Managed Instance</param>
 /// <param name="azureApp">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</param>
 /// <param name="backupFileShare">Backup file share information for all
 /// selected databases.</param>
 public MigrateSqlServerSqlMISyncTaskInput(IList <MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, string storageResourceId, SqlConnectionInfo sourceConnectionInfo, MiSqlConnectionInfo targetConnectionInfo, AzureActiveDirectoryApp azureApp, FileShare backupFileShare = default(FileShare))
     : base(selectedDatabases, storageResourceId, sourceConnectionInfo, targetConnectionInfo, azureApp, backupFileShare)
 {
     CustomInit();
 }