Share via


Table.RowCount Property

Gets the number of rows in the table.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property RowCount As Long
    Get
'Usage
Dim instance As Table
Dim value As Long

value = instance.RowCount
[SfcPropertyAttribute]
public long RowCount { get; }
[SfcPropertyAttribute]
public:
property long long RowCount {
    long long get ();
}
[<SfcPropertyAttribute>]
member RowCount : int64
function get RowCount () : long

Property Value

Type: System.Int64
An Int64 value that specifies the number of rows in the table.