DbDataReaderExtensions.CanGetColumnSchema(DbDataReader) Method

Definition

Gets a value that indicates whether a DbDataReader can get a column schema.

public:
[System::Runtime::CompilerServices::Extension]
 static bool CanGetColumnSchema(System::Data::Common::DbDataReader ^ reader);
public static bool CanGetColumnSchema (this System.Data.Common.DbDataReader reader);
static member CanGetColumnSchema : System.Data.Common.DbDataReader -> bool
<Extension()>
Public Function CanGetColumnSchema (reader As DbDataReader) As Boolean

Parameters

reader
DbDataReader

The DbDataReader to be checked for column schema support.

Returns

true if the DbDataReader can get a column schema; otherwise, false.

Applies to