Compartir a través de


MergePublication.BrowseSnapshotFolder Método

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Function BrowseSnapshotFolder As String
'Uso
Dim instance As MergePublication 
Dim returnValue As String 

returnValue = instance.BrowseSnapshotFolder()
public string BrowseSnapshotFolder()
public:
String^ BrowseSnapshotFolder()
member BrowseSnapshotFolder : unit -> string
public function BrowseSnapshotFolder() : String

Valor devuelto

Tipo: System.String
The complete path of the directory location where snapshot files are generated.

Comentarios

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.

Vea también

Referencia

MergePublication Clase

Espacio de nombres Microsoft.SqlServer.Replication