| 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).Used to specify how the Smtp component will perform a server login, if any.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code