







![]() ![]() |
MySQL Connector/Net |
MySqlClientPermission..::..Add Method |
MySqlClientPermission Class See Also Send Feedback |
![]() |
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.8.4.0
Syntax
C# |
---|
public override void Add( string connectionString, string restrictions, KeyRestrictionBehavior behavior ) |
Visual Basic |
---|
Public Overrides Sub Add ( _ connectionString As String, _ restrictions As String, _ behavior As KeyRestrictionBehavior _ ) |
Visual C++ |
---|
public: virtual void Add( String^ connectionString, String^ restrictions, KeyRestrictionBehavior behavior ) override |
Parameters
- connectionString
- Type: System..::..String
Settings to be used for the connection
- restrictions
- Type: System..::..String
Keywords to define the restrictions
- behavior
- Type: System.Data..::..KeyRestrictionBehavior
KeyRestrictionBehavior to be used