/// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4202, Level=Verbose, Channel=debug
 /// </summary>
 internal static bool StartSqlCommandExecuteIsEnabled()
 {
     return(FxTrace.ShouldTraceVerbose &&
            (FxTrace.ShouldTraceVerboseToTraceSource || TD.IsEtwEventEnabled(1)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4213, Level=Error, Channel=debug
 /// </summary>
 internal static bool RunnableInstancesDetectionErrorIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(11)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4214, Level=Error, Channel=debug
 /// </summary>
 internal static bool InstanceLocksRecoveryErrorIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(12)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4212, Level=Warning, Channel=debug
 /// </summary>
 internal static bool LockRetryTimeoutIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning &&
            (FxTrace.ShouldTraceWarningToTraceSource || TD.IsEtwEventEnabled(9)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4211, Level=Warning, Channel=debug
 /// </summary>
 internal static bool QueuingSqlRetryIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning &&
            (FxTrace.ShouldTraceWarningToTraceSource || TD.IsEtwEventEnabled(10)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4209, Level=Error, Channel=debug
 /// </summary>
 internal static bool TimeoutOpeningSqlConnectionIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(7)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4210, Level=Warning, Channel=debug
 /// </summary>
 internal static bool SqlExceptionCaughtIsEnabled()
 {
     return(FxTrace.ShouldTraceWarning &&
            (FxTrace.ShouldTraceWarningToTraceSource || TD.IsEtwEventEnabled(8)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4208, Level=Informational, Channel=debug
 /// </summary>
 internal static bool RetryingSqlCommandDueToSqlErrorIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation &&
            (FxTrace.ShouldTraceInformationToTraceSource || TD.IsEtwEventEnabled(6)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4207, Level=Informational, Channel=debug
 /// </summary>
 internal static bool MaximumRetriesExceededForSqlCommandIsEnabled()
 {
     return(FxTrace.ShouldTraceInformation &&
            (FxTrace.ShouldTraceInformationToTraceSource || TD.IsEtwEventEnabled(5)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4206, Level=Error, Channel=debug
 /// </summary>
 internal static bool UnlockInstanceExceptionIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(4)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4205, Level=Error, Channel=debug
 /// </summary>
 internal static bool FoundProcessingErrorIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(3)));
 }
 /// <summary>
 /// Check if trace definition is enabled
 /// Event description ID=4203, Level=Error, Channel=debug
 /// </summary>
 internal static bool RenewLockSystemErrorIsEnabled()
 {
     return(FxTrace.ShouldTraceError &&
            (FxTrace.ShouldTraceErrorToTraceSource || TD.IsEtwEventEnabled(2)));
 }