Share via


ProjectPolicy.OpenProject method

Opens the site.

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

Syntax

'Declaration
Public Shared Sub OpenProject ( _
    context As ClientRuntimeContext, _
    web As Web _
)
'Usage
Dim context As ClientRuntimeContext
Dim web As WebProjectPolicy.OpenProject(context, web)
public static void OpenProject(
    ClientRuntimeContext context,
    Web 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 closed.

See also

Reference

ProjectPolicy class

ProjectPolicy members

Microsoft.SharePoint.Client.InformationPolicy namespace