Share via


RecordsRepositoryExpirationAction.OnExpiration Method

Specifies the event handler for record repository expiration actions.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Sub OnExpiration ( _
    item As SPListItem, _
    parametersData As XmlNode, _
    expiredDate As DateTime _
)
'Usage
Dim instance As RecordsRepositoryExpirationAction
Dim item As SPListItem
Dim parametersData As XmlNode
Dim expiredDate As DateTime

instance.OnExpiration(item, parametersData, _
    expiredDate)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public void OnExpiration(
    SPListItem item,
    XmlNode parametersData,
    DateTime expiredDate
)

Parameters

  • expiredDate
    Type: System.DateTime
    Date and time of expiration for this item.

Implements

IExpirationAction.OnExpiration(SPListItem, XmlNode, DateTime)

See Also

Reference

RecordsRepositoryExpirationAction Class

RecordsRepositoryExpirationAction Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace