public void Cancel() { if (this.connection != null && this.connection.State == ConnectionState.Open) { AdomdConnection.CancelCommand(this.connection); } }