Property SrvServiceName

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Configuration

Assembly

MongoDB.Driver.dll

SrvServiceName

Gets the SRV service name which modifies the srv URI to look like:

_{srvServiceName}._tcp.{hostname}.{domainname}

The default value is "mongodb".

public string SrvServiceName { get; }

Property Value

string