Knight Data Access Layer
CountRecordsInTable Method (IDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface : CountRecordsInTable Method
The name of the table
Get the number of records in a table
Syntax
Function CountRecordsInTable( _
   ByVal tableName As String _
) As Long
Dim instance As IDatabaseProvider
Dim tableName As String
Dim value As Long
 
value = instance.CountRecordsInTable(tableName)
long CountRecordsInTable( 
   string tableName
)
long CountRecordsInTable( 
   string* tableName
) 
int64 CountRecordsInTable( 
   String^ tableName
) 

Parameters

tableName
The name of the table

Return Value

Number of records
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

IDatabaseProvider Interface
IDatabaseProvider Members