Retrieves a numerical status code returned by the method currently providing data to the data reader.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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
Returns an integer value status code from the method currently providing data.
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 connected to a relational database. However, in order to understand the value, you must know what data source you are talking to and what the provider is supplying through this property.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.