Compartilhar via


Expiration.SetExpirationDateForItem método

This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.RecordsManagement.PolicyFeatures
Assembly:  Microsoft.Office.Policy (em Microsoft.Office.Policy.dll)

Sintaxe

'Declaração
Public Shared Function SetExpirationDateForItem ( _
    listItem As SPListItem, _
    expireDate As Nullable(Of DateTime), _
    bUpdateCanFail As Boolean _
) As Boolean
'Uso
Dim listItem As SPListItem
Dim expireDate As Nullable(Of DateTime)
Dim bUpdateCanFail As Boolean
Dim returnValue As Boolean

returnValue = Expiration.SetExpirationDateForItem(listItem, _
    expireDate, bUpdateCanFail)
public static bool SetExpirationDateForItem(
    SPListItem listItem,
    Nullable<DateTime> expireDate,
    bool bUpdateCanFail
)

Parâmetros

Valor retornado

Tipo: System.Boolean

Ver também

Referência

Expiration classe

Expiration membros

Microsoft.Office.RecordsManagement.PolicyFeatures namespace