SmtpPermissionAttribute.Access Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.