Mír thabhairt cothrom le dáta nó Imeacht Nuashonraithe Mír i SharePoint 2007 tharlaíonn faoi dhó, má tá a cheangal ar an rogha Seiceáil ar chumas do leabharlann doiciméad.
Fuair mé an méid seo a leanas workaround ón Tacaíocht Microsoft ar an gceist seo.
Check the value of vti_sourcecontrolcheckedoutby
i BeforeProperties agus AfterProperties, if the both values are null then the event is triggered by check in else the event is triggered by other actions.
más rud é (properties.AfterProperties[“vti_sourcecontrolcheckedoutby”] == null && properties.BeforeProperties[“vti_sourcecontrolcheckedoutby”] != 0)
{
//This is when the update event is triggered by check-in.
}
eile
{
//This is triggered by events other than check-in action.
}