Freigeben über


FieldCount-Eigenschaft

Gets the number of columns in the current row. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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

Eigenschaftswert

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

Implementiert

IDataRecord. . :: . .FieldCount