Active Query Builder 2 .NET Edition reference
ExecSQL Method



SQL query to be executed against Connection.
Flag indicating that no data fetching is needed after the SQL query execution.
Executes SQL query against Connection and returns the IDataReader interface in result.
Syntax
'Declaration
 
Public Function ExecSQL( _
   ByVal sql As System.String, _
   ByVal schemaOnly As System.Boolean _
) As System.Data.IDataReader
'Usage
 
Dim instance As BaseMetadataProvider
Dim sql As System.String
Dim schemaOnly As System.Boolean
Dim value As System.Data.IDataReader
 
value = instance.ExecSQL(sql, schemaOnly)
public System.Data.IDataReader ExecSQL( 
   System.string sql,
   System.bool schemaOnly
)
public: System.Data.IDataReader* ExecSQL( 
   System.string* sql,
   System.bool schemaOnly
) 

Parameters

sql
SQL query to be executed against Connection.
schemaOnly
Flag indicating that no data fetching is needed after the SQL query execution.

Return Value

Returns IDataReader interface to get access to the SQL query execution result.
See Also

Reference

BaseMetadataProvider Class
BaseMetadataProvider Members

 

 


© Copyright 2005-2012 ActiveDBSoft. All rights reserved.

Send Feedback