共用方式為


IRelationalConnectionDiagnosticsLogger.ShouldLogConnectionOpen 方法

定義

是否需要 ConnectionOpeningConnectionOpened 記錄。

public bool ShouldLogConnectionOpen (DateTimeOffset now);
abstract member ShouldLogConnectionOpen : DateTimeOffset -> bool
Public Function ShouldLogConnectionOpen (now As DateTimeOffset) As Boolean

參數

傳回

適用於