MySQL Connector/Net
MySqlClientPermissionAdd Method |
Adds a new connection string with set of restricted keywords to the MySqlClientPermission object
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public override void Add( string connectionString, string restrictions, KeyRestrictionBehavior behavior )
Public Overrides Sub Add ( connectionString As String, restrictions As String, behavior As KeyRestrictionBehavior )
public: virtual void Add( String^ connectionString, String^ restrictions, KeyRestrictionBehavior behavior ) override
abstract Add : connectionString : string * restrictions : string * behavior : KeyRestrictionBehavior -> unit override Add : connectionString : string * restrictions : string * behavior : KeyRestrictionBehavior -> unit
Parameters
- connectionString
- Type: SystemString
Settings to be used for the connection - restrictions
- Type: SystemString
Keywords to define the restrictions - behavior
- Type: System.DataKeyRestrictionBehavior
KeyRestrictionBehavior to be used
