SmtpPermissionAttribute.Access Property
.NET Framework 3.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)
Not applicable.
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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: