Share via


WebFolder.Move Method

SharePoint Designer Developer Reference

Moves a folder in a Web site from its current location to a designated URL.

Syntax

expression.Move(DestinationUrl, UpdateLinks, ForceOverwrite)

expression   A variable that represents a WebFolder object.

Parameters

Name Required/Optional Data Type Description
DestinationUrl Required String The target URL, such as "C:\My Documents\My Web Sites\Adventure Works".
UpdateLinks Required Boolean True to update links during the move process.
ForceOverwrite Required Boolean True to overwrite duplicate folders.

See Also