Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the app is enabled.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function IsAppEnabled ( _
serviceContext As SPServiceContext _
) As Boolean
'Usage
Dim instance As SPAppRequestContext
Dim serviceContext As SPServiceContext
Dim returnValue As Boolean
returnValue = instance.IsAppEnabled(serviceContext)
public bool IsAppEnabled(
SPServiceContext serviceContext
)
Parameters
serviceContext
Type: Microsoft.SharePoint.SPServiceContextThe service context.
Return value
Type: System.Boolean
true if the app is enabled in the tenant, otherwise false.