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




Gets or sets the login method to use.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
<DescriptionAttribute("The type of login (if any) to use when connecting to a server")>
Public Property LoginMethod As SmtpLoginMethod
Visual Basic (Usage)Copy Code
Dim instance As Smtp
Dim value As SmtpLoginMethod
 
instance.LoginMethod = value
 
value = instance.LoginMethod
C# 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("The type of login (if any) to use when connecting to a server")]
public SmtpLoginMethod LoginMethod {get; set;}
Managed Extensions for C++ 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("The type of login (if any) to use when connecting to a server")]
public: __property SmtpLoginMethod get_LoginMethod();
public: __property void set_LoginMethod( 
   SmtpLoginMethod value
);
C++/CLI 
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
[DescriptionAttribute("The type of login (if any) to use when connecting to a server")]
public:
property SmtpLoginMethod LoginMethod {
   SmtpLoginMethod get();
   void set (    SmtpLoginMethod value);
}

Property Value

An SmtpLoginMethod enumerated type representing the login method to use. Defaults to SmtpLoginMethod.None (Smpt.Username and Smtp.Password are not required).

Remarks

Used to specify how the Smtp component will perform a server login, if any.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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