Compartilhar via


MigrateSqlServerSqlMITaskInput Constructors

Definition

Overloads

MigrateSqlServerSqlMITaskInput()

Initializes a new instance of the MigrateSqlServerSqlMITaskInput class.

MigrateSqlServerSqlMITaskInput(SqlConnectionInfo, SqlConnectionInfo, IList<MigrateSqlServerSqlMIDatabaseInput>, BlobShare, IList<String>, IList<String>, FileShare, String)

Initializes a new instance of the MigrateSqlServerSqlMITaskInput class.

MigrateSqlServerSqlMITaskInput()

Initializes a new instance of the MigrateSqlServerSqlMITaskInput class.

public MigrateSqlServerSqlMITaskInput ();
Public Sub New ()

Applies to

MigrateSqlServerSqlMITaskInput(SqlConnectionInfo, SqlConnectionInfo, IList<MigrateSqlServerSqlMIDatabaseInput>, BlobShare, IList<String>, IList<String>, FileShare, String)

Initializes a new instance of the MigrateSqlServerSqlMITaskInput class.

public MigrateSqlServerSqlMITaskInput (Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo sourceConnectionInfo, Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo targetConnectionInfo, System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> selectedDatabases, Microsoft.Azure.Management.DataMigration.Models.BlobShare backupBlobShare, System.Collections.Generic.IList<string> selectedLogins = default, System.Collections.Generic.IList<string> selectedAgentJobs = default, Microsoft.Azure.Management.DataMigration.Models.FileShare backupFileShare = default, string backupMode = default);
new Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMITaskInput : Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo * Microsoft.Azure.Management.DataMigration.Models.SqlConnectionInfo * System.Collections.Generic.IList<Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMIDatabaseInput> * Microsoft.Azure.Management.DataMigration.Models.BlobShare * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.DataMigration.Models.FileShare * string -> Microsoft.Azure.Management.DataMigration.Models.MigrateSqlServerSqlMITaskInput
Public Sub New (sourceConnectionInfo As SqlConnectionInfo, targetConnectionInfo As SqlConnectionInfo, selectedDatabases As IList(Of MigrateSqlServerSqlMIDatabaseInput), backupBlobShare As BlobShare, Optional selectedLogins As IList(Of String) = Nothing, Optional selectedAgentJobs As IList(Of String) = Nothing, Optional backupFileShare As FileShare = Nothing, Optional backupMode As String = Nothing)

Parameters

sourceConnectionInfo
SqlConnectionInfo

Information for connecting to source

targetConnectionInfo
SqlConnectionInfo

Information for connecting to target

selectedDatabases
IList<MigrateSqlServerSqlMIDatabaseInput>

Databases to migrate

backupBlobShare
BlobShare

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

selectedLogins
IList<String>

Logins to migrate.

selectedAgentJobs
IList<String>

Agent Jobs to migrate.

backupFileShare
FileShare

Backup file share information for all selected databases.

backupMode
String

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'

Applies to