Enum ConnectionStringScheme

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Configuration

Assembly

MongoDB.Driver.dll

Represents the scheme used to construct the connection string.

public enum ConnectionStringScheme

Fields

MongoDB = 0

Mongodb scheme (mongodb://)

MongoDBPlusSrv = 1

SRV scheme (mongodb+srv://)