System.Net.Mail.SmtpPermissionAttribute.Access Property

Gets or sets the level of access to SMTP servers controlled by the attribute.

Syntax

public string Access { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If you specify an invalid value when setting this property, the SmtpPermissionAttribute.CreatePermission method will throw an ArgumentException when called by the system.

Requirements

Namespace: System.Net.Mail
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0