Share via


AppCatalog.IsAppSideloadingEnabled method

Indicates whether side loading of SharePoint apps is enabled on the site in context.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function IsAppSideloadingEnabled ( _
    context As ClientRuntimeContext _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim returnValue As ClientResult(Of Boolean)

returnValue = AppCatalog.IsAppSideloadingEnabled(context)
public static ClientResult<bool> IsAppSideloadingEnabled(
    ClientRuntimeContext context
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
true if the site in context is either a developer site collection or the EnableAppSideLoading feature is activated, otherwise false.

See also

Reference

AppCatalog class

AppCatalog members

Microsoft.SharePoint.Client namespace