ProjectPolicy.PostponeProject method
Postpones the expiration date of the site based on the policy applied on the site.
Namespace: Microsoft.SharePoint.Client.InformationPolicy
Assembly: Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)
Syntax
'Declaration
Public Shared Sub PostponeProject ( _
context As ClientRuntimeContext, _
web As Web _
)
'Usage
Dim context As ClientRuntimeContext
Dim web As WebProjectPolicy.PostponeProject(context, web)
public static void PostponeProject(
ClientRuntimeContext context,
Web web
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
web
Type: Microsoft.SharePoint.Client.WebThe site to be postponed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The web parameter is a null reference (Nothing in Visual Basic). |
Remarks
The site must have a policy applied and the site must have the expiration date.