dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnectionStringBuilder Class / Host Property

On this page
    Host Property (MongoDBConnectionStringBuilder)
    On this page
    Gets or sets the name or IP address of the MongoDB server; with Connection Format=DnsSeedList, the host name of its DNS SRV record. The default value is an empty string, which means localhost.
    Syntax
    'Declaration
     
    Public Property Host As String
    public string Host {get; set;}
    Remarks
    Connection string keyword: Host. Synonyms: Data Source, Server.
    See Also