/// <summary> /// Removes the relation for the given <paramref name="relationId"/>. /// </summary> /// <param name="relationId">The relation identifier.</param> /// <returns></returns> public virtual UpdateWorkItemPatchDocumentBuilder RemoveRelation(int relationId) { PatchDocument.Add( new JsonPatchOperation() { Operation = Microsoft.VisualStudio.Services.WebApi.Patch.Operation.Remove, Path = "/relations/" + relationId } ); return(this); }