指示是否启用应用程序。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function IsAppEnabled ( _
serviceContext As SPServiceContext _
) As Boolean
用法
Dim instance As SPAppRequestContext
Dim serviceContext As SPServiceContext
Dim returnValue As Boolean
returnValue = instance.IsAppEnabled(serviceContext)
public bool IsAppEnabled(
SPServiceContext serviceContext
)
参数
serviceContext
类型:Microsoft.SharePoint.SPServiceContext服务上下文。
返回值
类型:System.Boolean
true如果在租户,否则为false中启用应用程序。