Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IDocumentManager.SetExpirationDate Method 

Sets the date at which to expire this document.

void SetExpirationDate(
   int documentID,
   object expires
);

Parameters

documentID
ID of the document to set expiration on.
expires
The time at which the document is set to expire. .

Remarks


The default expiration date for a document is set by the document crawler.

Exceptions

Exception Type Condition
SoapException There is a communication problem during the execution of the remote method call
PortalException The document ID is invalid, or if the operation resulted in an error on the portal.
ArgumentException The documentID is negative.

See Also

IDocumentManager Interface | Plumtree.Remote.PRC Namespace