Compartilhar via


MongoDBMigrationSettings Construtor

Definição

Inicializa uma nova instância do MongoDBMigrationSettings.

public MongoDBMigrationSettings (System.Collections.Generic.IDictionary<string,Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseSettings> databases, Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo source, Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo target);
new Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings : System.Collections.Generic.IDictionary<string, Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseSettings> * Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo * Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo -> Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings
Public Sub New (databases As IDictionary(Of String, MongoDBDatabaseSettings), source As MongoDBConnectionInfo, target As MongoDBConnectionInfo)

Parâmetros

databases
IDictionary<String,MongoDBDatabaseSettings>

Os bancos de dados no cluster de origem a serem migrados para o destino. As chaves são os nomes dos bancos de dados.

source
MongoDBConnectionInfo

Configurações usadas para se conectar ao cluster de origem.

target
MongoDBConnectionInfo

Configurações usadas para se conectar ao cluster de destino.

Exceções

databases, source ou target é nulo.

Aplica-se a