SPWeb.LoadAndInstallAppInSpecifiedLocale method
Carrega e instala um pacote de aplicativo em uma localidade específica.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function LoadAndInstallAppInSpecifiedLocale ( _
appPackageStream As Stream, _
installationLocaleLCID As Integer _
) As SPAppInstance
'Uso
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
)
Parâmetros
appPackageStream
Type: System.IO.StreamO fluxo do pacote do aplicativo.
installationLocaleLCID
Type: System.Int32O LCID da localidade usada para instalar o aplicativo.
Valor retornado
Type: Microsoft.SharePoint.Administration.SPAppInstance
AppInstance criado.