SmtpPermission::AddPermission Method (SmtpAccess)
.NET Framework (current version)
Adds the specified access level value to the permission.
Assembly: System (in System.dll)
Parameters
- access
-
Type:
System.Net.Mail::SmtpAccess
One of the SmtpAccess values.
Use this method to modify access to Simple Mail Transport Protocol servers by adding to the state of this permission instance.
.NET Framework
Available since 2.0
Available since 2.0
Show: