EnableOpenCloseTracing

This property indicates whether to record database soft and hard connection/disconnection instrumentation or not.

Declaration

// C#
public EnableOpenCloseTracing EnableOpenCloseTracing { get; set; } 

Return Value

EnableOpenCloseTracing enum values

Remarks

Default value is EnableOpenCloseTracing.None.

This option takes following EnableOpenCloseTracing enum values:

  • EnableOpenCloseTracing.None: No open/close instrumentation

  • EnableOpenCloseTracing.HardOpenCloseOnly: Hard open/close instrumentation only

  • EnableOpenCloseTracing.AllOpenClose: All open/close (soft + hard) instrumentation