MongoDbConnectionInfo Constructors
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.
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.