语言

PullSubscription.AltSnapshotFolder 属性

定义

当分发器未使用默认快照位置时,获取或设置发布快照文件获取的位置。

public:
 property System::String ^ AltSnapshotFolder { System::String ^ get(); void set(System::String ^ value); };
public string AltSnapshotFolder { get; set; }
member this.AltSnapshotFolder : string with get, set
Public Property AltSnapshotFolder As String

属性值

一个 String 表示备用快照位置的完整路径的值。

注解

当需要通过昂贵的连接传输大量数据时,这一选项非常有用。

AltSnapshotFolder该属性只能由订阅者中固定服务器角色的成员sysadmin或订阅数据库中固定数据库角色的成员db_owner检索。

AltSnapshotFolder 属性只能由订阅者固定服务器角色的成员 sysadmin 或订阅数据库中固定数据库角色的成员 db_owner 设置。

取回 AltSnapshotFolder 该属性等同于执行 sp_helppullsubscription(Transact-SQL)sp_helpmergepullsubscription(Transact-SQL)

设置该 AltSnapshotFolder 属性等同于执行 sp_addpullsubscription_agent (Transact-SQL)sp_addmergepullsubscription_agent (Transact-SQL)sp_change_subscription_properties (Transact-SQL)sp_changemergepullsubscription (Transact-SQL)

适用于