IDataTransformPlanServices.GetRowCount Method
Returns the number of rows in the provided table.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Function GetRowCount ( _
connectionString As String, _
table As IDatabaseTable _
) As Long
long GetRowCount(
string connectionString,
IDatabaseTable table
)
long long GetRowCount(
String^ connectionString,
IDatabaseTable^ table
)
abstract GetRowCount :
connectionString:string *
table:IDatabaseTable -> int64
function GetRowCount(
connectionString : String,
table : IDatabaseTable
) : long
Parameters
- connectionString
Type: System.String
The connection string to use to connect to the database.
- table
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseTable
The table to query for the number of rows.
Return Value
Type: System.Int64
The number of rows in the table.
.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.
See Also
Reference
IDataTransformPlanServices Interface
Microsoft.Data.Schema.Tools.DataGenerator Namespace
ITable