Function

ODRecordSynchronize(_:_:)

Synchronizes a record with the directory to get current data and commit changes.

Declaration

func ODRecordSynchronize(_ record: ODRecordRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Bool

Parameters

inRecord

The record.

outError

An error reference for error details. Can be NULL.

Return Value

true if the record is successfully synchronized; otherwise, false.

Discussion

This function refetches any attributes which have been fetched previously, but it does not fetch previously unfetched attributes.

See Also

Working with Records

func ODRecordGetTypeID() -> CFTypeID

Returns the type ID for a record.