MySql.Data.MySqlClient.ISSchemaProvider.GetProcedures C# (CSharp) Method

GetProcedures() public method

Return schema information about procedures and functions Restrictions supported are: schema, name, type
public GetProcedures ( string restrictions ) : DataTable
restrictions string
return System.Data.DataTable
        public override DataTable GetProcedures(string[] restrictions)
        {
            string[] keys = new string[4];
            keys[0] = "ROUTINE_CATALOG";
            keys[1] = "ROUTINE_SCHEMA";
            keys[2] = "ROUTINE_NAME";
            keys[3] = "ROUTINE_TYPE";

            DataTable dt = Query("ROUTINES", null, keys, restrictions);
            dt.TableName = "Procedures";
            return dt;
        }