Class MySqlClientPermissionAttribute
Associates a security action with a custom security attribute.
Inheritance
System.Object
MySqlClientPermissionAttribute
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
[Serializable]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class MySqlClientPermissionAttribute : DBDataPermissionAttribute
Constructors
MySqlClientPermissionAttribute(SecurityAction)
Declaration
public MySqlClientPermissionAttribute(SecurityAction action)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Permissions.SecurityAction | action |
Methods
CreatePermission()
Declaration
public override IPermission CreatePermission()
Returns
Type | Description |
---|---|
System.Security.IPermission |