Partager via


Méthode SqlCeChangeTracking.PackTombstoneKey

Ce type a un attribut SecurityCriticalAttribute qui le limite à une utilisation interne par la bibliothèque de classes du .NET Framework pour Silverlight. Le code d'application qui utilise un membre de ce type lève un MethodAccessException.

[INFORMATIONS CRITIQUES DE SÉCURITÉ]

Convertit la clé de ligne de la table spécifiée au format utilisé pour la clé de ligne de la table tombstone.

Espace de noms :  System.Data.SqlServerCe
Assembly :  System.Data.SqlServerCe (en System.Data.SqlServerCe.dll)

Syntaxe

'Déclaration
Public Function PackTombstoneKey ( _
    tableName As String, _
    columnValues As Object() _
) As Byte()
'Utilisation
Dim instance As SqlCeChangeTracking
Dim tableName As String
Dim columnValues As Object()
Dim returnValue As Byte()

returnValue = instance.PackTombstoneKey(tableName, _
    columnValues)
public byte[] PackTombstoneKey(
    string tableName,
    Object[] columnValues
)
public:
array<unsigned char>^ PackTombstoneKey(
    String^ tableName, 
    array<Object^>^ columnValues
)
member PackTombstoneKey : 
        tableName:string * 
        columnValues:Object[] -> byte[] 
public function PackTombstoneKey(
    tableName : String, 
    columnValues : Object[]
) : byte[]

Paramètres

  • tableName
    Type : System.String
    Nom de la table contenant la ligne.
  • columnValues
    Type : array<System.Object[]
    Tableau qui contient les valeurs de colonne de la clé de ligne.

Valeur de retour

Type : array<System.Byte[]
Tableau d'octets qui représente la valeur de la clé de ligne dans la table tombstone.

Voir aussi

Référence

SqlCeChangeTracking Classe

Espace de noms System.Data.SqlServerCe

EnableTracking

TrackingKeyType