Gets or sets the URI string accepted by the current WebPermissionAttribute.
member Accept : string with get, set
Accept is not a null reference (Nothing in Visual Basic) when you attempt to set the value. If you wish to specify more than one Accept URI, use an additional attribute declaration statement.
When applying WebPermissionAttribute to your class, this property specifies what URI string will be accepted for use within your class. This permission is applied when the security system calls CreatePermission. This property is write-once.
The following example demonstrates how to use WebPermissionAttribute to specify an allowable Accept string.