Aracılığıyla paylaş


SqlCeChangeTracking.PackTombstoneKey Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Converts the row key from the specified table into the format used for the row key in the tombstone table.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Function PackTombstoneKey ( _
    tableName As String, _
    columnValues As Object() _
) As Byte()
'Usage
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[]

Parameters

  • tableName
    Type: System.String
    The name of the table containing the row.
  • columnValues
    Type: array<System.Object[]
    An array that contains the column values of the row key.

Return Value

Type: array<System.Byte[]
An array of bytes that represents the value of the row key in the tombstone table.

See Also

Reference

SqlCeChangeTracking Class

System.Data.SqlServerCe Namespace

EnableTracking

TrackingKeyType