ProjectPolicy.PostponeProject method
Postpone the expiration date of the site based on the policy applied on the site.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub PostponeProject ( _
web As SPWeb _
)
'Usage
Dim web As SPWebProjectPolicy.PostponeProject(web)
public static void PostponeProject(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe site to be postponed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The web parameter is a null reference (Nothing in Visual Basic). |
Remarks
The site must has a policy applied and the site must have the expiration date.
See also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy namespace