PowerTCP Mail for .NET
UsePipelining Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Smtp Class : UsePipelining Property




Gets or sets a value indicating whether the component pipelines if the server supports it.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("This property determines whether the component pipelines if the server supports it.")>
<DefaultValueAttribute()>
Public Property UsePipelining As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Smtp
Dim value As Boolean
 
instance.UsePipelining = value
 
value = instance.UsePipelining
C# 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("This property determines whether the component pipelines if the server supports it.")]
[DefaultValueAttribute()]
public bool UsePipelining {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("This property determines whether the component pipelines if the server supports it.")]
[DefaultValueAttribute()]
public: __property bool get_UsePipelining();
public: __property void set_UsePipelining( 
   bool value
);
C++/CLI 
[CategoryAttribute("Behavior")]
[DescriptionAttribute("This property determines whether the component pipelines if the server supports it.")]
[DefaultValueAttribute()]
public:
property bool UsePipelining {
   bool get();
   void set (    bool value);
}

Property Value

true if the component should send multiple commands at once. Defaults to true.

Remarks

Some servers support PIPELINING, which can increase performance by sending multiple commands at once, without waiting for responses. Set this property to false to prevent PIPELINING, which may be desirable under some conditions (for example, a firewall does not handle it correctly).

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.