Deletewppack: Stsadm operation (Office SharePoint Server)

Stsadm

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

Operation name: Deletewppack

Description

Removes the Web Parts in a Web Part package from a virtual server. When you delete the last instance of a Web Part package on a server or server farm, the Stsadm command-line tool also deletes the Web Part package from the configuration database.

Syntax

stsadm -o deletewppack

   -name <name>

   [-lcid] <language>

   [-url] <URL name>

Parameters

Parameter

Value

Required?

Description

name

A valid name, such has ”SampleWebPart.wpp”

Yes

Specifies the name of the Web Part package.

lcid

A valid locale ID, such as "1033" for English

No

Removes a particular language version of a Web Part package.

url

A valid URL, such as http://server_name

No

Specifies the URL of the virtual server on which to delete the Web Parts. If this parameter is omitted, the Stsadm command-line tool deletes the Web Parts from the Bin folder of every virtual server on the server or from the global assembly cache.