Share via


MergePublication.BrowseSnapshotFolder 메서드

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Function BrowseSnapshotFolder As String
‘사용 방법
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

반환 값

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

주의

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.

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스