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
listItem
Tipo: Microsoft.SharePoint.SPListItemReservado para uso interno.
expireDate
Tipo: System.Nullable<DateTime>Reservado para uso interno.
bUpdateCanFail
Tipo: System.BooleanReservado para uso interno.
Valor retornado
Tipo: System.Boolean