Share via


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

Return value

Type: Microsoft.SharePoint.Client.CompliancePolicy.SPContainerId

See also

Reference

SPContainerId class

SPContainerId members

Microsoft.SharePoint.Client.CompliancePolicy namespace