Table of Contents

Property SrvServiceName

Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.Core.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