SmtpPermissionAttribute.Access Property

Definition

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

public:
 property System::String ^ Access { System::String ^ get(); void set(System::String ^ value); };
public string Access { get; set; }
member this.Access : string with get, set
Public Property Access As String

Property Value

A String value. Valid values are "Connect" and "None".

Remarks

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

Applies to