Publication.FtpSubdirectory 属性

定义

为允许通过 FTP 进行订阅初始化的发布获取或设置文件传输协议 (FTP) 服务器计算机上的子目录。

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

属性值

FTP 服务器上的子目录。

注解

合并代理或分发代理使用此属性在 FTP 服务器上查找快照文件。

<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>该属性只能由发布服务器上的固定服务器角色的成员、发布数据库上的固定数据库角色的成员sysadmindb_owner或发布访问列表中的用户 (PAL) 检索。

该 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 属性只能由发布服务器上的固定服务器角色的成员 sysadmin 或发布数据库中固定数据库角色的成员 db_owner 设置。 PAL 中的用户可以设置 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 现有发布的属性。

检索 <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> 该属性相当于执行 transact-SQL) sp_helpmergepublication (Transact-SQL) sp_helppublication (。

<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>设置该属性相当于执行 sp_addpublication (Transact-SQL) 和 sp_changepublication (Transact-SQL) sp_addmergepublication (Transact-SQL) sp_changemergepublication (Transact-SQL)

适用于