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;} |
See Also