/// <summary> /// Send the Command to the database server represented by mid. /// This function returns a query handle with which the results of the /// query can be retrieved. The handle should be closed with mapi_close_handle(). /// The command response is buffered for consumption, c.f. mapi\_fetch\_row(). /// </summary> /// <param name="mapi"></param> /// <param name="command"></param> /// <returns></returns> public static MapiHdl MapiQuery(MapiConnection mapi, string command) { return(new MapiHdl(CMapiLib.mapi_query(mapi.Ptr, command))); }