Share via


SPAppSource enumeration

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)

Syntax

'Declaration
Public Enumeration SPAppSource
'Usage
Dim instance As SPAppSource
public enum SPAppSource

Members

Member name Description
InvalidSource Indicates an internal product error, and should not occur in usage. Value=0.
Marketplace Indicates that the app was installed off the marketplace. Value=1.
CorporateCatalog Indicates that the app came from the corporate gallery. Value=2.
DeveloperSite Indicates that the app came from the developer site. Value=3.
ObjectModel Indicates that the app was loaded through the object model. Value=4.
RemoteObjectModel Indicates that the app was uploaded through the client-side object model (CSOM). Value=5.

See also

Reference

Microsoft.SharePoint.Administration namespace