SdamLoggingSettingsWith Method |
Returns a new SdamLoggingSettings instance with some settings changed.
Namespace:
MongoDB.Driver.Core.Configuration
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public SdamLoggingSettings With(
Optional<string> logFilename = default
)
Public Function With (
Optional logFilename As Optional(Of String) = Nothing
) As SdamLoggingSettings
member With :
?logFilename : Optional<string>
(* Defaults:
let _logFilename = defaultArg logFilename new Optional<string>()
*)
-> SdamLoggingSettings
Parameters
- logFilename (Optional)
- Type: MongoDB.DriverOptionalString
The filename.
Return Value
Type:
SdamLoggingSettingsA new SdamLoggingSettings instance.
See Also