Share via


SaveWebPart Method

The SaveWebPart method of the Web Part Pages service saves changes to an existing dynamic Web Part.

Parameters

Example

The following code example shows a locally defined AddWebPart method that adds a Web Part and then modifies it by calling the AddWebPart and SaveWebPart methods of the Web Part Pages service through a proxy. This code example and the proxy are part of a larger example provided for the Web Part Pages service.

Requirements

Platforms: Microsoft Windows Server 2003

Web Reference: http://Server_Name[sites/][Site_Name/]/_vti_bin/WebPartPages.asmx

Security: Code Access Security