SPAppRequestContext.IsAppEnabled 方法

指示是否启用应用程序。

命名空间:  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
)

参数

返回值

类型:System.Boolean
true如果在租户,否则为false中启用应用程序。

另请参阅

引用

SPAppRequestContext 类

SPAppRequestContext 成员

Microsoft.SharePoint 命名空间