MySQL Connector/Net
MySqlClientPermissionAttribute Class |
Inheritance Hierarchy
SystemObject SystemAttribute
System.Security.PermissionsSecurityAttribute
System.Security.PermissionsCodeAccessSecurityAttribute
System.Data.CommonDBDataPermissionAttribute
MySql.Data.MySqlClientMySqlClientPermissionAttribute
System.Security.PermissionsSecurityAttribute
System.Security.PermissionsCodeAccessSecurityAttribute
System.Data.CommonDBDataPermissionAttribute
MySql.Data.MySqlClientMySqlClientPermissionAttribute
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
[SerializableAttribute] public sealed class MySqlClientPermissionAttribute : DBDataPermissionAttribute
<SerializableAttribute> Public NotInheritable Class MySqlClientPermissionAttribute Inherits DBDataPermissionAttribute
[SerializableAttribute] public ref class MySqlClientPermissionAttribute sealed : public DBDataPermissionAttribute
[<SealedAttribute>] [<SerializableAttribute>] type MySqlClientPermissionAttribute = class inherit DBDataPermissionAttribute end
The MySqlClientPermissionAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MySqlClientPermissionAttribute |
Properties
Name | Description | |
---|---|---|
Action | Gets or sets a security action. (Inherited from SecurityAttribute.) | |
AllowBlankPassword | Gets or sets a value indicating whether a blank password is allowed. (Inherited from DBDataPermissionAttribute.) | |
ConnectionString | Gets or sets a permitted connection string. (Inherited from DBDataPermissionAttribute.) | |
KeyRestrictionBehavior | Identifies whether the list of connection string parameters identified by the KeyRestrictions property are the only connection string parameters allowed. (Inherited from DBDataPermissionAttribute.) | |
KeyRestrictions | Gets or sets connection string parameters that are allowed or disallowed. (Inherited from DBDataPermissionAttribute.) | |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
Unrestricted | Gets or sets a value indicating whether full (unrestricted) permission to the resource protected by the attribute is declared. (Inherited from SecurityAttribute.) |
Methods
Name | Description | |
---|---|---|
CreatePermission | (Overrides SecurityAttributeCreatePermission.) | |
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShouldSerializeConnectionString | Identifies whether the attribute should serialize the connection string. (Inherited from DBDataPermissionAttribute.) | |
ShouldSerializeKeyRestrictions | Identifies whether the attribute should serialize the set of key restrictions. (Inherited from DBDataPermissionAttribute.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also