SmtpPermissionAttribute.Access Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets or sets the level of access to SMTP servers controlled by the attribute.
Namespace: System.Net.Mail
Assembly: System (in system.dll)
Assembly: System (in system.dll)
/** @property */ public String get_Access () /** @property */ public void set_Access (String value)
public function get Access () : String public function set Access (value : String)
Property Value
A String value. Valid values are "Connect" and "None".If you specify an invalid value when setting this property, the CreatePermission method will throw an ArgumentException when called by the system.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: