Initializes a new instance of the
ServerId class.
Namespace:
MongoDB.Driver.Core.Servers
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntaxpublic 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