Partager via


Propriété FieldCount

Gets the number of columns in the current row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public ReadOnly Property FieldCount As Integer
    Get
'Utilisation
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

Valeur de propriété

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

Implémente

IDataRecord. . :: . .FieldCount