Share via


SPWeb.LoadAndInstallAppInSpecifiedLocale method

Uploads and installs an App package, in a specified locale.

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

Syntax

'Declaration
Public Function LoadAndInstallAppInSpecifiedLocale ( _
    appPackageStream As Stream, _
    installationLocaleLCID As Integer _
) As SPAppInstance
'Usage
Dim instance As SPWeb
Dim appPackageStream As Stream
Dim installationLocaleLCID As Integer
Dim returnValue As SPAppInstance

returnValue = instance.LoadAndInstallAppInSpecifiedLocale(appPackageStream, _
    installationLocaleLCID)
public SPAppInstance LoadAndInstallAppInSpecifiedLocale(
    Stream appPackageStream,
    int installationLocaleLCID
)

Parameters

  • installationLocaleLCID
    Type: System.Int32

    The LCID of the locale used to install the app.

Return value

Type: Microsoft.SharePoint.Administration.SPAppInstance
The created AppInstance.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace