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>プロパティは、Publisherのsysadmin固定サーバーロールのメンバー、出版データベースのdb_owner固定データベース役割のメンバー、または出版アクセスリスト(PAL)のユーザーのみが取得できます。

<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>プロパティは、Publisherのsysadmin固定サーバーロールのメンバーか、出版データベース上のdb_owner固定データベースメンバーのみが設定可能です。 PALのユーザーは既存の出版物の <xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A> プロパティを設定できます。

<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>プロパティの取得は、sp_helppublication(Transact-SQL)またはsp_helpmergepublication(Transact-SQL)を実行するのと同等です。

<xref:Microsoft.SqlServer.Replication.Publication.FTPSubDirectory%2A>プロパティを設定することは、sp_addpublication(Transact-SQL)sp_changepublication(Transact-SQL)またはsp_addmergepublication(Transact-SQL)、sp_changemergepublication(Transact-SQL)を実行するのと同等です。

適用対象