MongoServerSettingsServers Property |
Gets or sets the list of server addresses (see also Server if using only one address).
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.1.0
Syntax public IEnumerable<MongoServerAddress> Servers { get; set; }
Public Property Servers As IEnumerable(Of MongoServerAddress)
Get
Set
member Servers : IEnumerable<MongoServerAddress> with get, set
Property Value
Type:
IEnumerableMongoServerAddressSee Also