Edit

Share via


Update.Save method (Byte , Int32, Int32)

Update the tableid.

Namespace:  Microsoft.Isam.Esent.Interop
Assembly:  Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)

Syntax

'Declaration
Public Sub Save ( _
    bookmark As Byte(), _
    bookmarkSize As Integer, _
    <OutAttribute> ByRef actualBookmarkSize As Integer _
)
'Usage
Dim instance As Update
Dim bookmark As Byte()
Dim bookmarkSize As Integer
Dim actualBookmarkSize As Integer

instance.Save(bookmark, bookmarkSize, _
    actualBookmarkSize)
public void Save(
    byte[] bookmark,
    int bookmarkSize,
    out int actualBookmarkSize
)

Parameters

  • bookmark
    Type: []

    Returns the bookmark of the updated record. This can be null.

  • bookmarkSize
    Type: System.Int32

    The size of the bookmark buffer.

  • actualBookmarkSize
    Type: System.Int32

    Returns the actual size of the bookmark.

Remarks

Save is the final step in performing an insert or an update. The update is begun by calling creating an Update object and then by calling JetSetColumn or JetSetColumns one or more times to set the record state. Finally, Update is called to complete the update operation. Indexes are updated only by Update or and not during JetSetColumn or JetSetColumns.

See also

Reference

Update class

Update members

Save overload

Microsoft.Isam.Esent.Interop namespace