共用方式為


FieldCount 屬性

Gets the number of columns in the data.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
Public ReadOnly Property FieldCount As Integer
    Get
'用途
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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the field count.

實作

IDataRecord. . :: . .FieldCount

範例

Readme_Tracer