Partager via


MongoDbConnectionInfo Constructors

Definition

Overloads

MongoDbConnectionInfo()

Initializes a new instance of the MongoDbConnectionInfo class.

MongoDbConnectionInfo(String, String, String)

Initializes a new instance of the MongoDbConnectionInfo class.

MongoDbConnectionInfo()

Initializes a new instance of the MongoDbConnectionInfo class.

public MongoDbConnectionInfo ();
Public Sub New ()

Applies to

MongoDbConnectionInfo(String, String, String)

Initializes a new instance of the MongoDbConnectionInfo class.

public MongoDbConnectionInfo (string connectionString, string userName = default, string password = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo : string * string * string -> Microsoft.Azure.Management.DataMigration.Models.MongoDbConnectionInfo
Public Sub New (connectionString As String, Optional userName As String = Nothing, Optional password As String = Nothing)

Parameters

connectionString
String

A MongoDB connection string or blob container URL. The user name and password can be specified here or in the userName and password properties

userName
String

User name

password
String

Password credential.

Applies to