TraceReader.Item Property (Int32)

Gets the column specified by the index position.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Object 
    Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

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

Property Value

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

Implements

IDataRecord.Item[Int32]

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Item Overload

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions