Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IDocumentManager.SetNeverExpires Method

Sets a document to be never expired.

void SetNeverExpires(
int documentID
);

#### Parameters

documentID
  ID of the document to set expiration on.

#### 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