SPContainerId.CreateFromWeb method
Namespace: Microsoft.SharePoint.Client.CompliancePolicy
Assembly: Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)
Syntax
'Declaration
Public Shared Function CreateFromWeb ( _
context As ClientRuntimeContext, _
web As Web _
) As SPContainerId
'Usage
Dim context As ClientRuntimeContext
Dim web As Web
Dim returnValue As SPContainerId
returnValue = SPContainerId.CreateFromWeb(context, _
web)
public static SPContainerId CreateFromWeb(
ClientRuntimeContext context,
Web web
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- web
Type: Microsoft.SharePoint.Client.Web
Return value
Type: Microsoft.SharePoint.Client.CompliancePolicy.SPContainerId