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 模板和权限