Udostępnij za pośrednictwem


MergePublication.CopySnapshot(String) Method

Definition

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.

Applies to