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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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