Share via


DataProvider.FieldCount Property

Gets the number of columns in the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public ReadOnly Property FieldCount As Integer
    Get
'Usage
Dim instance As DataProvider
Dim value As Integer

value = instance.FieldCount
public int FieldCount { get; }
public:
virtual property int FieldCount {
    int get () sealed;
}
abstract FieldCount : int
override FieldCount : int
final function get FieldCount () : int

Property Value

Type: System.Int32
An integer that specifies the number of columns.

Implements

IDataRecord.FieldCount