Constructor QueryCommand QueryCommand(String) Initialized new instance of QueryCommand. Declaration public QueryCommand(string query) Parameters Type Name Description System.String query SQL-like query text.