FTPClientConnection100Class.UsePassiveMode 屬性

定義

取得或設定值,指出工作是否會以被動模式傳送及接收檔案。

public:
 virtual property bool UsePassiveMode { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(7)]
public virtual bool UsePassiveMode { [System.Runtime.InteropServices.DispId(7)] get; [System.Runtime.InteropServices.DispId(7)] set; }
[<System.Runtime.InteropServices.DispId(7)>]
[<get: System.Runtime.InteropServices.DispId(7)>]
[<set: System.Runtime.InteropServices.DispId(7)>]
member this.UsePassiveMode : bool with get, set
Public Overridable Property UsePassiveMode As Boolean

屬性值

Boolean

如果工作以被動模式傳送及接收檔案,則為 true;如果工作以主動模式傳送和接收檔案,則為 false。

實作

屬性

適用於