次の方法で共有


FTPPassword Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

The FTPPassword property sets authentication data for the security account used to connect to a File Transfer Protocol (FTP) server that maintains replication subscription synchronization images.

構文

object.FTPPassword=value

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    A string that contains a valid password

Data Type

String

Modifiable

Write-only

Prototype (C/C++)

HRESULT SetFTPPassword(SQLDMO_LPCSTR NewValue);

説明

Microsoft SQL Server replication can use FTP to transfer synchronization images of publication schema and data. Use the FTPAddress, FTPPort, FTPLogin, and FTPPassword properties to enable use of FTP for synchronization.

Applications should use the MergePublication2 or TransPublication2 objects when setting the FTPPassword property. The FTPPassword property remains a property of the TransPullSubscription and MergePullSubscription objects to maintain backward compatibility.

注意注意

If an application sets FTPPassword with the MergePublication2 or TransPublication2 object after the initial snapshot has been created, a new snapshot must be generated. Snapshots are applied when the next scheduled snapshot agent runs.