Returns the complete path of the location where snapshot files were generated for a specific subscription.
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
public string BrowseSnapshotFolder( string subscriber, string subscriptionDB )
If the parameters are not specified, the most recent directory where snapshot files were generated for the publication is returned. If no snapshot files have been generated for this publication, an empty string is returned.
The 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 is equivalent to executing sp_browsesnapshotfolder.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.