Share via


MergePublication.BrowseSnapshotFolder Method

Definition

Returns the complete path of the directory location where snapshot files are generated.

public:
 System::String ^ BrowseSnapshotFolder();
public string BrowseSnapshotFolder ();
member this.BrowseSnapshotFolder : unit -> string
Public Function BrowseSnapshotFolder () As String

Returns

The complete path of the directory location where snapshot files are generated.

Remarks

If snapshot files have not yet been generated, an empty string is returned.

The BrowseSnapshotFolder 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 BrowseSnapshotFolder is equivalent to executing sp_browsemergesnapshotfolder.

Applies to