TraceReader.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

请参阅

参考

TraceReader 类

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限