예제 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// ValidateMigrationInputSqlServerSqlMITaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="selectedDatabases">Databases to migrate</param>
 /// <param name="backupBlobShare">SAS URI of Azure Storage Account
 /// Container to be used for storing backup files.</param>
 /// <param name="selectedLogins">Logins to migrate</param>
 /// <param name="backupFileShare">Backup file share information for all
 /// selected databases.</param>
 /// <param name="backupMode">Backup Mode to specify whether to use
 /// existing backup or create new backup. Possible values include:
 /// 'CreateBackup', 'ExistingBackup'</param>
 public ValidateMigrationInputSqlServerSqlMITaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, IList <MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, BlobShare backupBlobShare, IList <string> selectedLogins = default(IList <string>), FileShare backupFileShare = default(FileShare), string backupMode = default(string))
 {
     SourceConnectionInfo = sourceConnectionInfo;
     TargetConnectionInfo = targetConnectionInfo;
     SelectedDatabases    = selectedDatabases;
     SelectedLogins       = selectedLogins;
     BackupFileShare      = backupFileShare;
     BackupBlobShare      = backupBlobShare;
     BackupMode           = backupMode;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MigrateSqlServerSqlMITaskInput
 /// class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="selectedDatabases">Databases to migrate</param>
 /// <param name="backupBlobShare">SAS URI of Azure Storage Account
 /// Container to be used for storing backup files.</param>
 /// <param name="selectedLogins">Logins to migrate.</param>
 /// <param name="selectedAgentJobs">Agent Jobs to migrate.</param>
 /// <param name="backupFileShare">Backup file share information for all
 /// selected databases.</param>
 /// <param name="backupMode">Backup Mode to specify whether to use
 /// existing backup or create new backup. If using existing backups,
 /// backup file paths are required to be provided in selectedDatabases.
 /// Possible values include: 'CreateBackup', 'ExistingBackup'</param>
 /// <param name="aadDomainName">Azure Active Directory domain name in
 /// the format of 'contoso.com' for federated Azure AD or
 /// 'contoso.onmicrosoft.com' for managed domain, required if and only
 /// if Windows logins are selected</param>
 public MigrateSqlServerSqlMITaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, IList <MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, BlobShare backupBlobShare, IList <string> selectedLogins = default(IList <string>), IList <string> selectedAgentJobs = default(IList <string>), FileShare backupFileShare = default(FileShare), string backupMode = default(string), string aadDomainName = default(string))
     : base(sourceConnectionInfo, targetConnectionInfo)
 {
     SelectedDatabases = selectedDatabases;
     SelectedLogins    = selectedLogins;
     SelectedAgentJobs = selectedAgentJobs;
     BackupFileShare   = backupFileShare;
     BackupBlobShare   = backupBlobShare;
     BackupMode        = backupMode;
     AadDomainName     = aadDomainName;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MigrateSqlServerSqlDbTaskInput
 /// class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="selectedDatabases">Databases to migrate</param>
 /// <param name="validationOptions">Options for enabling various post
 /// migration validations. Available options,
 /// 1.) Data Integrity Check: Performs a checksum based comparison on
 /// source and target tables after the migration to ensure the
 /// correctness of the data.
 /// 2.) Schema Validation: Performs a thorough schema comparison
 /// between the source and target tables and provides a list of
 /// differences between the source and target database, 3.) Query
 /// Analysis: Executes a set of queries picked up automatically either
 /// from the Query Plan Cache or Query Store and execute them and
 /// compares the execution time between the source and target
 /// database.</param>
 public MigrateSqlServerSqlDbTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, IList <MigrateSqlServerSqlDbDatabaseInput> selectedDatabases, MigrationValidationOptions validationOptions = default(MigrationValidationOptions))
     : base(sourceConnectionInfo, targetConnectionInfo)
 {
     SelectedDatabases = selectedDatabases;
     ValidationOptions = validationOptions;
     CustomInit();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the GetUserTablesSqlTaskInput class.
 /// </summary>
 /// <param name="connectionInfo">Connection information for SQL
 /// Server</param>
 /// <param name="selectedDatabases">List of database names to collect
 /// tables for</param>
 public GetUserTablesSqlTaskInput(SqlConnectionInfo connectionInfo, IList <string> selectedDatabases)
 {
     ConnectionInfo    = connectionInfo;
     SelectedDatabases = selectedDatabases;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ValidateSyncMigrationInputSqlServerTaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source SQL server</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="selectedDatabases">Databases to migrate</param>
 public ValidateSyncMigrationInputSqlServerTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, IList <MigrateSqlServerSqlDbSyncDatabaseInput> selectedDatabases)
 {
     SourceConnectionInfo = sourceConnectionInfo;
     TargetConnectionInfo = targetConnectionInfo;
     SelectedDatabases    = selectedDatabases;
     CustomInit();
 }
 /// <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();
 }
 /// <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();
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the ConnectToTargetSqlMITaskInput
 /// class.
 /// </summary>
 /// <param name="targetConnectionInfo">Connection information for
 /// target SQL Server</param>
 public ConnectToTargetSqlMITaskInput(SqlConnectionInfo targetConnectionInfo)
 {
     TargetConnectionInfo = targetConnectionInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// ConnectToTargetSqlSqlDbSyncTaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Connection information for
 /// source SQL Server</param>
 /// <param name="targetConnectionInfo">Connection information for
 /// target SQL DB</param>
 public ConnectToTargetSqlSqlDbSyncTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo)
 {
     SourceConnectionInfo = sourceConnectionInfo;
     TargetConnectionInfo = targetConnectionInfo;
     CustomInit();
 }
예제 #10
0
 /// <summary>
 /// Initializes a new instance of the MigrateSsisTaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="ssisMigrationInfo">SSIS package migration
 /// information.</param>
 public MigrateSsisTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, SsisMigrationInfo ssisMigrationInfo)
     : base(sourceConnectionInfo, targetConnectionInfo)
 {
     SsisMigrationInfo = ssisMigrationInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MigrateSchemaSqlServerSqlDbTaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 /// <param name="selectedDatabases">Databases to migrate</param>
 public MigrateSchemaSqlServerSqlDbTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, IList <MigrateSchemaSqlServerSqlDbDatabaseInput> selectedDatabases)
     : base(sourceConnectionInfo, targetConnectionInfo)
 {
     SelectedDatabases = selectedDatabases;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SqlMigrationTaskInput class.
 /// </summary>
 /// <param name="sourceConnectionInfo">Information for connecting to
 /// source</param>
 /// <param name="targetConnectionInfo">Information for connecting to
 /// target</param>
 public SqlMigrationTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo)
 {
     SourceConnectionInfo = sourceConnectionInfo;
     TargetConnectionInfo = targetConnectionInfo;
     CustomInit();
 }