Creates a new instance of the CompiledQuery
Class.
Attention: Don't create a CompiledQuery in your application. This constructor
is only required for some storage classes. Use ToCompiledQuery
instead.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim command As IDbCommand
Dim queryType As QueryTypes
Dim instance As CompiledQuery(command, queryType)
|
Parameters
- command
- Storage dependent command that is executed on the storage.
- queryType
- The QueryType of the
CompiledQuery.
Exceptions
| Exception | Description |
| ArgumentNullException | Command is null. |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also