Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the AdoDotNetSchemaReader class with a data reader object and a data command object.
Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
    reader As DbDataReader, _
    command As DbCommand _
)
public AdoDotNetSchemaReader(
    DbDataReader reader,
    DbCommand command
)
public:
AdoDotNetSchemaReader(
    DbDataReader^ reader, 
    DbCommand^ command
)
new : 
        reader:DbDataReader * 
        command:DbCommand -> AdoDotNetSchemaReader
public function AdoDotNetSchemaReader(
    reader : DbDataReader, 
    command : DbCommand
)
Parameters
- reader 
 Type: System.Data.Common.DbDataReader- A DbDataReader object containing the result set and the schema. 
- command 
 Type: System.Data.Common.DbCommand- A DbCommand object encapsulating the command executed against the data source, which allows the implementation of the Terminate method to call CancelAsync on the command. 
.NET Framework Security
- 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.