Sdílet prostřednictvím


TraceReader.FieldCount Property

Gets the number of columns in the data.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public ReadOnly Property FieldCount As Integer
    Get
'Usage
Dim instance As TraceReader
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 Int32 value that specifies the field count.

Implements

IDataRecord.FieldCount

Examples

Readme_Tracer