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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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