IConnectionFactoryCreateConnection Method |
Creates the connection.
Namespace:
MongoDB.Driver.Core.Connections
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax IConnection CreateConnection(
ServerId serverId,
EndPoint endPoint
)
Function CreateConnection (
serverId As ServerId,
endPoint As EndPoint
) As IConnection
abstract CreateConnection :
serverId : ServerId *
endPoint : EndPoint -> IConnection
Parameters
- serverId
- Type: MongoDB.Driver.Core.ServersServerId
The server identifier. - endPoint
- Type: System.NetEndPoint
The end point.
Return Value
Type:
IConnectionA connection.
See Also