指明是否在上下文中的网站上启用侧加载的 SharePoint 应用程序。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Shared Function IsAppSideloadingEnabled ( _
context As ClientRuntimeContext _
) As ClientResult(Of Boolean)
用法
Dim context As ClientRuntimeContext
Dim returnValue As ClientResult(Of Boolean)
returnValue = AppCatalog.IsAppSideloadingEnabled(context)
public static ClientResult<bool> IsAppSideloadingEnabled(
ClientRuntimeContext context
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext运行时上下文中。
返回值
类型:Microsoft.SharePoint.Client.ClientResult<Boolean>
true如果上下文中的该网站是开发人员网站集或 EnableAppSideLoading 激活功能,否则为false。