SPContainerId.CreateFromSite 方法
命名空间: Microsoft.SharePoint.Client.CompliancePolicy
程序集: Microsoft.Office.Client.Policy.Silverlight(位于 Microsoft.Office.Client.Policy.Silverlight.dll 中); Microsoft.Office.Client.Policy.Phone(位于 Microsoft.Office.Client.Policy.Phone.dll 中) Microsoft.Office.Client.Policy(位于 Microsoft.Office.Client.Policy.dll 中)
语法
声明
Public Shared Function CreateFromSite ( _
context As ClientRuntimeContext, _
site As Site _
) As SPContainerId
用法
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
)
参数
- site
类型:Microsoft.SharePoint.Client.Site
返回值
类型:Microsoft.SharePoint.Client.CompliancePolicy.SPContainerId