Freigeben über


FTPPort Property

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The FTPPort property exposes the port of a File Transfer Protocol (FTP) server that maintains synchronization images of a Microsoft SQL Server publication.

Syntax

object
.FTPPort [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A positive long integer that specifies a port by number

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetFTPPort(LPDWORD pRetVal);
HRESULT SetFTPPort(DWORD NewValue);

Hinweise

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

ms136298.note(de-de,SQL.90).gifHinweis:
If an application sets FTPPort 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

Siehe auch

Verweis

FTPAddress Property
FTPLogin Property
FTPPassword Property
FTPSubdirectory Property

Hilfe und Informationen

Informationsquellen für SQL Server 2005