/// <summary> /// Closes the <see cref="T:System.Data.IDataReader"/> Object. /// </summary> public void Close() { MapiFactory.CloseQueryHandle(_queryHandle); MapiFactory.CloseConnectionHandle(_connHandle); IsClosed = true; }
/// <summary> /// /// </summary> public void Close() { if (State == ConnectionState.Closed) { return; } MapiFactory.CloseConnectionHandle(_connection); State = ConnectionState.Closed; }