Deletes a record from the object table.
Deletes a record from the object table.
| Visual Basic |
|---|
Public Function Remove() As Long |
Returns a result value that indicates success or failure. If the method succeeds, it returns 0. Otherwise, it returns an error code.
You can retrieve the last error code and its description using the method GetLastError.
You must use the GetByKey method to retrieve a valid object.