FTPPort Property (Replication ActiveX)
The FTPPort property specifies the TCP port number of the File Transfer Protocol (FTP) site where the publication snapshot files are stored.
重要提示: |
---|
Support has been dropped for creating subscriptions to Subscribers running Microsoft SQL Server version 7.0 that are initialized using FTP. |
语法
object.FTPPort [= value]
Part | Description |
---|---|
object |
Expression that evaluates to an object in the Applies To list. |
value |
TCP port number of the FTP site. |
Applies To
SQLDistribution Object (Replication ActiveX)
SQLMerge Object (Replication ActiveX)
备注
The default value is 21.
These properties should not be required when you dynamically determine the FTP login properties by querying the publication. Provided for backward compatibility only: these properties will not be effective when used against Microsoft SQL Server 2000 or later publications unless the Subscriber is a SQL Server version 7.0 Subscriber.
Data Type
Long
Modifiable
Read/write
Prototype C/C++
HRESULT get_FTPPort(long *pVal);
HRESULT put_FTPPort(long newVal);
请参阅
参考
FTPAddress Property (Replication ActiveX)