The read-only DatabaseKeys property of the Error object returns a string collection that contains the primary keys of the database row causing the error. There is one key per entry in the collection.
This property is read-only.
Syntax
propVal = Error.DatabaseKeys
Property value
Remarks
The client is responsible for releasing the string collection when it is no longer needed.
The collection is empty if the values do not apply to the type of the error. You can determine the type of error by calling the Type property of the Error object.
C++
See get_DatabaseKeys function.
Requirements
| Requirement | Value |
|---|---|
| Version | Mergemod.dll 1.0 or later |
| Header | Mergemod.h |
| DLL | Mergemod.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
