/// <summary> /// Performs the undo of GSM operation after LSM operations. /// </summary> /// <param name="ts">Transaction scope.</param> /// <returns>Pending operations on the target objects if any.</returns> public override IStoreResults UndoGlobalPostLocalExecute(IStoreTransactionScope ts) { return(ts.ExecuteOperation( StoreOperationRequestBuilder.SpBulkOperationShardMappingsGlobalEnd, StoreOperationRequestBuilder.UpdateShardMappingGlobal( this.Id, this.OperationCode, true, // undo _patternForKill, _shardMap, _mappingSource, _mappingTarget, _lockOwnerId))); }