IClusterableServerFactoryCreateServer Method |
Creates the server.
Namespace: MongoDB.Driver.Core.ServersAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.2.0
Syntax IClusterableServer CreateServer(
ClusterId clusterId,
EndPoint endPoint
)
Function CreateServer (
clusterId As ClusterId,
endPoint As EndPoint
) As IClusterableServer
abstract CreateServer :
clusterId : ClusterId *
endPoint : EndPoint -> IClusterableServer
Parameters
- clusterId
- Type: MongoDB.Driver.Core.ClustersClusterId
The cluster identifier. - endPoint
- Type: System.NetEndPoint
The end point.
Return Value
Type:
IClusterableServerA server.
See Also