SPAppCatalog.IsAppSideloadingEnabled method

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

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

Syntax

'Declaration
Public Shared Function IsAppSideloadingEnabled As Boolean
'Usage
Dim returnValue As Boolean

returnValue = SPAppCatalog.IsAppSideloadingEnabled()
public static bool IsAppSideloadingEnabled()

Return value

Type: System.Boolean
true if the site in context is either a developer site collection or the EnableAppSideLoading feature is activated, otherwise false.

See also

Reference

SPAppCatalog class

SPAppCatalog members

Microsoft.SharePoint.Administration namespace