am writing an timer job in SP 2013 on-prem version to manipulate some list items .But there exists already an item event receiver to update some other manipulations . i wanna prevent triggering that event receiver when i do this list update from y custom time rjob. how to achieve this functionality?
SPSecurity.RunWithElevatedPrivileges(delegate()
{
using (SPSite spSite = new SPSite(siteurl))
{
using (SPWeb paramObjspWeb = spSite.OpenWeb())
{
try
{
paramObjspWeb.AllowUnsafeUpdates = true;
SPList riltlist =
paramObjspWeb.Lists.TryGetList("Tracker");
SPListItem singleitem = riltlist.GetItemById(205);
Console.WriteLine(" ID is +++++ " +
singleitem["ID"].ToString());
Console.WriteLine(" SI NO is +++++ " +
singleitem["Sl.No."].ToString());
Console.WriteLine("project code is +++++ " +
singleitem["Project Code"].ToString());
singleitem["Project Code"] = " NPR_ELE_DUPS_011_17";
singleitem.SystemUpdate();
} catch { }
} } });
// here in this line singleitem.SystemUpdate(); it automatically triggering the other item event receiver which i wanna stop.