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