Partager via


AdoDotNetDataReader.IsClosed Property

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

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsClosed As Boolean
public override bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () override;
}
abstract IsClosed : bool with get 
override IsClosed : bool with get
override function get IsClosed () : boolean

Property Value

Type: System.Boolean
Returns true if the specified data reader instance is closed; otherwise returns false.

Remarks

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

.NET Framework Security

See Also

Reference

AdoDotNetDataReader Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace