ProjectPolicy.PostponeProject(SPWeb) ProjectPolicy.PostponeProject(SPWeb) ProjectPolicy.PostponeProject(SPWeb) Method

Definition

Postpone the expiration date of the site based on the policy applied on the site.

public:
 static void PostponeProject(Microsoft::SharePoint::SPWeb ^ web);
[Microsoft.SharePoint.Client.ClientCallableExceptionConstraint(Condition="Web is null.", ErrorType=typeof(System.ArgumentNullException), FixedId="ArgumentNullException")]
[Microsoft.SharePoint.Client.ClientCallableMethod(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public static void PostponeProject (Microsoft.SharePoint.SPWeb web);
Public Shared Sub PostponeProject (web As SPWeb)
Parameters
web
SPWeb SPWeb SPWeb

The site to be postponed.

Exceptions

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.

Applies to