Partager via


Méthode IDataRecordChanger.SetValue

Sets a value in the specified position.

Espace de noms :  Microsoft.SqlServer.Management.Trace
Assembly :  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntaxe

'Déclaration
Sub SetValue ( _
    ordinal As Integer, _
    value As Object _
)
'Utilisation
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
)

Paramètres

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

Exemples

Readme_Tracer

Voir aussi

Référence

IDataRecordChanger Interface

Espace de noms Microsoft.SqlServer.Management.Trace

Autres ressources

Indicateurs de trace (Transact-SQL)

Modèles et autorisations du générateur de SQL Server Profiler