Export (0) Print
Expand All

SqlDataReader::IsClosed Property

Retrieves a Boolean value that indicates whether the specified SqlDataReader instance has been closed.

Namespace:  System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
virtual property bool IsClosed {
	bool get () override;
}

Property Value

Type: System::Boolean
true if the specified SqlDataReader instance is closed; otherwise false.

Implements

IDataReader::IsClosed

It is not possible to read from a SqlDataReader instance that is closed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft