Točka Posodobitev ali točka Posodobljeno dogodek v SharePoint 2007 pojavi dvakrat, če je potrebno checkout možnost je omogočena za knjižnico dokumentov.
Našel sem naslednje nastalo iz podpore Microsoft za to vprašanje.
Check the value of vti_sourcecontrolcheckedoutby
v BeforeProperties in AfterProperties, if the both values are null then the event is triggered by check in else the event is triggered by other actions.
če (properties.AfterProperties[“vti_sourcecontrolcheckedoutby”] == null && properties.BeforeProperties[“vti_sourcecontrolcheckedoutby”] != Null)
{
//This is when the update event is triggered by check-in.
}
drugega
{
//This is triggered by events other than check-in action.
}