/// <summary> /// Test handle for killing underlying connection /// </summary> public void KillConnection() { using (TrySNIEventScope.Create(nameof(SNIMarsConnection))) { _lowerHandle.KillConnection(); } }
/// <summary> /// Test handle for killing underlying connection /// </summary> public void KillConnection() { long scopeID = SqlClientEventSource.Log.TrySNIScopeEnterEvent("<sc.SNI.SNIMarsConnection.KillConnection |SNI|INFO|SCOPE>"); try { _lowerHandle.KillConnection(); } finally { SqlClientEventSource.Log.TrySNIScopeLeaveEvent(scopeID); } }
/// <summary> /// Test handle for killing underlying connection /// </summary> public void KillConnection() { long scopeID = SqlClientEventSource.Log.TrySNIScopeEnterEvent(s_className); try { _lowerHandle.KillConnection(); } finally { SqlClientEventSource.Log.TrySNIScopeLeaveEvent(scopeID); } }
/// <summary> /// Test handle for killing underlying connection /// </summary> public void KillConnection() { _lowerHandle.KillConnection(); }