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

属性值

如果任务以被动模式发送和接收文件,则为 true;如果任务以活动模式发送和接收文件,则为 false。

实现

属性

适用于