Partager via


AdoDotNetReader.Status Property

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

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

Syntax

'Declaration
Public Overrides ReadOnly Property Status As Integer
public override int Status { get; }
public:
virtual property int Status {
    int get () override;
}
abstract Status : int with get 
override Status : int with get
override function get Status () : int

Property Value

Type: System.Int32
A numerical status code from the method currently providing data.

Implements

IVsDataReader.Status

Remarks

This status code, a numerical value, can represent something like the number of rows affected when connected to a relational database.

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 connected to a relational database. However, to understand the value, you must know what data source you are communicating with and what the provider is supplying through this property.

.NET Framework Security

See Also

Reference

AdoDotNetReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace