DataReader.Status Property

Gets a numerical status code returned by the method currently providing data to the data reader.

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

Syntax

Public MustOverride ReadOnly Property Status As Integer

Dim instance As DataReader
Dim value As Integer

value = instance.Status
public abstract int Status { get; }
public:
virtual property int Status {
    int get () abstract;
}
public abstract function get Status () : int

Property Value

Type: System.Int32

An integer value status code from the method currently providing data.

Implements

IVsDataReader.Status

Remarks

There are no semantics associated with this status code value. As a numerical value, it can represent something like the number of rows affected when you are connected to a relational database. However, in order to understand the value, you must know what data source you are communicating with and what the provider is supplying through this property.

Notes to Inheritors:

The derived class must override this method.

Permissions

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data.Framework Namespace