public virtual void ReleaseLocks(String[] resources) { try { throw new InvalidServiceVersionException(ServiceNameConstants.Locking, 1, 2); } catch (Exception exception) { TeamFoundationTracingService.TraceExceptionRaw(98001, s_area, s_layer, exception); throw; } }
/// <summary> /// Releases the lock for the given resource /// </summary> /// <param name="resource"></param> public virtual void ReleaseLock(String resource) { try { resource = AppendPartitionId(resource); PrepareStoredProcedure("prc_ReleaseLock"); BindString("@resource", resource, 255, false, System.Data.SqlDbType.NVarChar); ExecuteNonQuery(); } catch (Exception exception) { TeamFoundationTracingService.TraceExceptionRaw(98000, s_area, s_layer, exception); throw; } }
public override void ReleaseLocks(String[] resources) { try { resources = AppendPartitionIds(resources); PrepareStoredProcedure("prc_ReleaseLocks"); this.BindOrderedStringTable("@resources", resources); ExecuteNonQuery(); } catch (Exception exception) { TeamFoundationTracingService.TraceExceptionRaw(98002, s_area, s_layer, exception); throw; } }