IExpirationAction.OnExpiration Method
Specifies the code that should run when an item expires.
Namespace: Microsoft.Office.RecordsManagement.PolicyFeatures
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Sub OnExpiration ( _
item As SPListItem, _
parametersData As XmlNode, _
expiredDate As DateTime _
)
'Usage
Dim instance As IExpirationAction
Dim item As SPListItem
Dim parametersData As XmlNode
Dim expiredDate As DateTime
instance.OnExpiration(item, parametersData, _
expiredDate)
void OnExpiration(
SPListItem item,
XmlNode parametersData,
DateTime expiredDate
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe SPListItem object for this event.
parametersData
Type: System.Xml.XmlNodeParameters for this event.
expiredDate
Type: System.DateTimeDate and time of expiration for this item.