ProjectPolicy.CloseProject method

Closes the site.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Sub CloseProject ( _
    web As SPWeb _
)
'Usage
Dim web As SPWebProjectPolicy.CloseProject(web)
public static void CloseProject(
    SPWeb web
)

Parameters

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 is open.

See also

Reference

ProjectPolicy class

ProjectPolicy members

Microsoft.Office.RecordsManagement.InformationPolicy namespace