SPAppRequestContext.IsAppEnabled method
指出是否啟用應用程式。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Type: Microsoft.SharePoint.SPServiceContext服務內容。
傳回值
Type: System.Boolean
true如果應用程式已啟用在承租人,否則false。