Click or drag to resize

MySqlClientPermissionAttribute Class

Associates a security action with a custom security attribute.
Inheritance Hierarchy

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
[SerializableAttribute]
public sealed class MySqlClientPermissionAttribute : DBDataPermissionAttribute

The MySqlClientPermissionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodMySqlClientPermissionAttribute
Initializes a new instance of the MySqlClientPermissionAttribute class
Top
Properties
  NameDescription
Public propertyAction
Gets or sets a security action.
(Inherited from SecurityAttribute.)
Public propertyAllowBlankPassword
Gets or sets a value indicating whether a blank password is allowed.
(Inherited from DBDataPermissionAttribute.)
Public propertyConnectionString
Gets or sets a permitted connection string.
(Inherited from DBDataPermissionAttribute.)
Public propertyKeyRestrictionBehavior
Identifies whether the list of connection string parameters identified by the KeyRestrictions property are the only connection string parameters allowed.
(Inherited from DBDataPermissionAttribute.)
Public propertyKeyRestrictions
Gets or sets connection string parameters that are allowed or disallowed.
(Inherited from DBDataPermissionAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyUnrestricted
Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared.
(Inherited from SecurityAttribute.)
Top
Methods
  NameDescription
Public methodCreatePermission (Overrides SecurityAttributeCreatePermission.)
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShouldSerializeConnectionString
Identifies whether the attribute should serialize the connection string.
(Inherited from DBDataPermissionAttribute.)
Public methodShouldSerializeKeyRestrictions
Identifies whether the attribute should serialize the set of key restrictions.
(Inherited from DBDataPermissionAttribute.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also