다음을 통해 공유


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

  • expiredDate
    Type: System.DateTime

    Date and time of expiration for this item.

See Also

Reference

IExpirationAction Interface

IExpirationAction Members

Microsoft.Office.RecordsManagement.PolicyFeatures Namespace