共用方式為


TraceReader.Item 屬性 (Int32)

Gets the column specified by the index position.

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

語法

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Object 
    Get
'用途
Dim instance As TraceReader 
Dim index As Integer 
Dim value As Object 

value = instance(index)
public Object this[
    int index
] { get; }
public:
virtual property Object^ default[int index] {
    Object^ get (int index) sealed;
}
abstract Item : Object 
override Item : Object
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

  • index
    型別:System.Int32
    An Int32 value that specifies the index position of the column in the record.

屬性值

型別:System.Object
An Object system object value that specifies the column.

實作

IDataRecord.Item[Int32]

範例

Readme_Tracer

請參閱

參考

TraceReader 類別

Item 多載

Microsoft.SqlServer.Management.Trace 命名空間

其他資源

追蹤旗標 (Transact-SQL)

SQL Server Profiler 範本和權限