MongoDBMigrationSettings Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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)
Parameters
- databases
- IDictionary<String,MongoDBDatabaseSettings>
The databases on the source cluster to migrate to the target. The keys are the names of the databases.
- source
- MongoDBConnectionInfo
Settings used to connect to the source cluster.
- target
- MongoDBConnectionInfo
Settings used to connect to the target cluster.
Exceptions
databases
, source
or target
is null.