Initializes a new instance of the
ServerId class.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public ServerId(
ClusterId clusterId,
EndPoint endPoint
)
Public Sub New (
clusterId As ClusterId,
endPoint As EndPoint
)
new :
clusterId : ClusterId *
endPoint : EndPoint -> ServerId
Parameters
- clusterId
- Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier. - endPoint
- Type: System.NetEndPoint
The end point.
See Also