共用方式為


MongoDBConnectionInfo Class

Definition

Describes a connection to a MongoDB data source.

public class MongoDBConnectionInfo : Azure.ResourceManager.DataMigration.Models.ConnectionInfo
type MongoDBConnectionInfo = class
    inherit ConnectionInfo
Public Class MongoDBConnectionInfo
Inherits ConnectionInfo
Inheritance
MongoDBConnectionInfo

Constructors

MongoDBConnectionInfo(String)

Initializes a new instance of MongoDBConnectionInfo.

Properties

AdditionalSettings

Additional connection settings.

Authentication

Authentication type to use for connection.

ConnectionString

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

DataSource

Data source.

EncryptConnection

Whether to encrypt the connection.

EnforceSSL

Gets or sets the enforce ssl.

Password

Password credential.

(Inherited from ConnectionInfo)
Port

port for server.

ServerBrandVersion

server brand version.

ServerName

name of the server.

ServerVersion

server version.

TrustServerCertificate

Whether to trust the server certificate.

UserName

User name.

(Inherited from ConnectionInfo)

Applies to