Publication. Copy Snapshot(String, String, String) Method
Copies the latest snapshot files for a specific subscription to a destination folder.
public: void CopySnapshot(System::String ^ destinationFolder, System::String ^ subscriber, System::String ^ subscriptionDB);
public void CopySnapshot (string destinationFolder, string subscriber, string subscriptionDB);
member this.CopySnapshot : string * string * string -> unit
Public Sub CopySnapshot (destinationFolder As String, subscriber As String, subscriptionDB As String)
A String value that represents the name of the Subscriber to which subscription belongs.
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.