ReplicaSetConfig Constructor |
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public ReplicaSetConfig(
IEnumerable<EndPoint> members,
string name,
EndPoint primary,
int? version
)
Public Sub New (
members As IEnumerable(Of EndPoint),
name As String,
primary As EndPoint,
version As Integer?
)
new :
members : IEnumerable<EndPoint> *
name : string *
primary : EndPoint *
version : Nullable<int> -> ReplicaSetConfig
Parameters
- members
- Type: System.Collections.GenericIEnumerableEndPoint
The members. - name
- Type: SystemString
The name. - primary
- Type: System.NetEndPoint
The primary. - version
- Type: SystemNullableInt32
The version.
See Also