共用方式為


IDataRecordChanger.SetValue 方法

Sets a value in the specified position.

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

語法

'宣告
Sub SetValue ( _
    ordinal As Integer, _
    value As Object _
)
'用途
Dim instance As IDataRecordChanger 
Dim ordinal As Integer 
Dim value As Object

instance.SetValue(ordinal, value)
void SetValue(
    int ordinal,
    Object value
)
void SetValue(
    int ordinal, 
    Object^ value
)
abstract SetValue : 
        ordinal:int * 
        value:Object -> unit
function SetValue(
    ordinal : int, 
    value : Object
)

參數

  • ordinal
    型別:System.Int32
    An Int32 value that specifies the index position at which to set the value.
  • value
    型別:System.Object
    An Object system object value that specifies the value to set the field at the specified position.

範例

Readme_Tracer

請參閱

參考

IDataRecordChanger 介面

Microsoft.SqlServer.Management.Trace 命名空間

其他資源

追蹤旗標 (Transact-SQL)

SQL Server Profiler 範本和權限