Backup Method

The Backup method of the SPSiteCollection class creates a backup file for the site object located at the specified URL.

Parameters

strSiteUrl A string that contains the URL of the site object for which to create a backup.

strFilename A string that contains the name of the backup file.

bOverwrite true to overwrite any other backup file for the site object; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security