Nevron Open Vision Documentation
ExecuteScalar Method


Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
Syntax
'Declaration
 
Public MustOverride Function ExecuteScalar( _
   ByVal command As System.String _
) As System.Object
'Usage
 
Dim instance As NDbConnection
Dim command As System.String
Dim value As System.Object
 
value = instance.ExecuteScalar(command)
public abstract System.object ExecuteScalar( 
   System.string command
)

Parameters

command

Return Value

The first column of the first row in the result set.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

NDbConnection Class
NDbConnection Members

 

 


©2017. Nevron Software LLC.

Send Feedback