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
A String value.
備註
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.