MergePublication.CopySnapshot(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the snapshot files for the merge publication from the snapshot folder to a destination folder.
public:
void CopySnapshot(System::String ^ destinationFolder);
public void CopySnapshot (string destinationFolder);
member this.CopySnapshot : string -> unit
Public Sub CopySnapshot (destinationFolder As String)
Parameters
- destinationFolder
- String
The directory to which the snapshot files are to be copied.
Remarks
The CopySnapshot method can only be called by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.
Calling CopySnapshot is equivalent to executing sp_copymergesnapshot.