Share via


MongoDbConnectionInfo Class

Definition

Describes a connection to a MongoDB data source

[Newtonsoft.Json.JsonObject("MongoDbConnectionInfo")]
public class MongoDbConnectionInfo : Microsoft.Azure.Management.DataMigration.Models.ConnectionInfo
[<Newtonsoft.Json.JsonObject("MongoDbConnectionInfo")>]
type MongoDbConnectionInfo = class
    inherit ConnectionInfo
Public Class MongoDbConnectionInfo
Inherits ConnectionInfo
Inheritance
MongoDbConnectionInfo
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

MongoDbConnectionInfo()

Initializes a new instance of the MongoDbConnectionInfo class.

MongoDbConnectionInfo(String, String, String)

Initializes a new instance of the MongoDbConnectionInfo class.

Properties

ConnectionString

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

Password

Gets or sets password credential.

(Inherited from ConnectionInfo)
UserName

Gets or sets user name

(Inherited from ConnectionInfo)

Methods

Validate()

Validate the object.

Applies to