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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
web
Type: Microsoft.SharePoint.Client.WebThe site to be opened.
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.