다음을 통해 공유


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 FTPLoginproperty. The FTPLoginproperty remains a property of the TransPullSubscription and MergePullSubscription objects to maintain backward compatibility.

[!참고]

If an application sets FTPLoginwith 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.