共用方式為


FTPLogin Property

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The FTPLogin property exposes the security account used to connect to a File Transfer Protocol (FTP) server that maintains replication subscription synchronization images.

語法

object
.FTPLogin [=value ]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A string that identifies a server security account

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetFTPLogin(SQLDMO_LPBSTR pRetVal);
HRESULT SetFTPLogin(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 FTPLogin property. The FTPLogin property remains a property of the TransPullSubscription and MergePullSubscription objects to maintain backward compatibility.

ms138200.note(zh-tw,SQL.90).gif附註:
If an application sets FTPLogin 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.

Applies To:

MergePublication2 Object

TransPublication2 Object

MergePullSubscription Object

TransPullSubscription Object

請參閱

參考

FTPAddress Property
FTPPassword Property
FTPPort Property
FTPSubdirectory Property

說明及資訊

取得 SQL Server 2005 協助