C# 클래스 MongoDB.Azure.MongoHelper

파일 보기 프로젝트 열기: sridharn/Mongo-Azure

공개 메소드들

메소드 설명
GetMongoEndPoint ( ) : IPEndPoint

Get the end point associated with the mongod instance. If running with a warm standby instance it returns the endpoint on which mongod is actually listening.

GetMongoServer ( ) : MongoServer

Get an instance of MongoServer and connect to it. Uses default connection string of the form mongod://host:port. For other connection forms or options use GetMongoEndPoint and create your own connection

비공개 메소드들

메소드 설명
CheckEndpoint ( IPEndPoint mongodEndpoint ) : bool

메소드 상세

GetMongoEndPoint() 공개 정적인 메소드

Get the end point associated with the mongod instance. If running with a warm standby instance it returns the endpoint on which mongod is actually listening.
public static GetMongoEndPoint ( ) : IPEndPoint
리턴 System.Net.IPEndPoint

GetMongoServer() 공개 정적인 메소드

Get an instance of MongoServer and connect to it. Uses default connection string of the form mongod://host:port. For other connection forms or options use GetMongoEndPoint and create your own connection
public static GetMongoServer ( ) : MongoServer
리턴 MongoServer