SPAppSource enumeration

SharePoint 2013

Indicates where the app package originated from. This is useful, for example, in checking for updates.

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

public enum SPAppSource

Member nameDescription
InvalidSourceIndicates an internal product error, and should not occur in usage. Value=0.
Marketplace Indicates that the app was installed off the marketplace. Value=1.
CorporateCatalogIndicates that the app came from the corporate gallery. Value=2.
DeveloperSiteIndicates that the app came from the developer site. Value=3.
ObjectModelIndicates that the app was loaded through the object model. Value=4.
RemoteObjectModelIndicates that the app was uploaded through the client-side object model (CSOM). Value=5.