共用方式為


PullSubscription.FtpPort 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the port number for the FTP server.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property FtpPort As Integer 
    Get 
    Set
'用途
Dim instance As PullSubscription 
Dim value As Integer 

value = instance.FtpPort

instance.FtpPort = value
public int FtpPort { get; set; }
public:
property int FtpPort {
    int get ();
    void set (int value);
}
member FtpPort : int with get, set
function get FtpPort () : int 
function set FtpPort (value : int)

屬性值

型別:System.Int32
The port number for the FTP server.

請參閱

參考

PullSubscription 類別

Microsoft.SqlServer.Replication 命名空間