short CopyQMFObject(BSTR Owner, BSTR Name, BSTR NewOwner, BSTR NewName, IDispatch* Server, Boolean Overwrite)
Description
This function copies the contents of an object in the database.
Parameters
Name | Description |
---|---|
Owner | A string containing the owner of the object. |
Name | A string containing the name of the object. |
NewOwner | A string containing the new owner for the object. |
NewName | A string containing the new name of the object. |
Server | The database server where the object is being copied. |
Overwrite | Use non-zero if you want the specified object to replace an existing object. |
Return Value
The return value will be zero if successful or non-zero if unsuccessful. If the return value is non-zero, you can call GetLastErrorString(), GetLastErrorType(), GetLastSQLCode(), GetLastSQLError(), or GetLastSQLState() to get additional error information.