Application.ShowImportWebPackageDialog Method

SharePoint Designer Developer Reference

Returns a Boolean that indicates whether the method successfully added the specified Web package.

Syntax

expression.ShowImportWebPackageDialog(packageFileName, urlImportedTo)

expression   Required. A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
packageFileName Required String The path and file name of the Web package to import.
urlImportedTo Required String The path and file name of the destination of the Web package.

Return Value
Boolean

Remarks

You can import Web packages only into Web sites that are based on Microsoft Windows SharePoint Services.

See Also