Removing database from vServer

Kevin Windham kevo at gatorgraphics.com
Mon Sep 13 14:04:50 CDT 2004


On Sep 13, 2004, at 1:39 PM, Igor Gomon wrote:
>  Also (at least in C++) method UnregisterDatabase() returns boolean,
> indicating whether database is actually unregistered or not or is it 
> just marked.
> If there was any error raised during unregister process then you
> should get it (in C++ exception is raised but in RB you should use
> usual way to check for last operation success - I mean
> Valentina.GetLastError() or something like this - I don't remember).

I cannot find a way to catch an error from the unregisterDatabase 
method. It doesn't appear to have a return in the docs, and there 
doesn't appear to be an ErrNumber property or getError function on the 
server object. There is a property for the database object, but I don't 
see how that can apply in this case.

Maybe I'm wrong, or this just hasn't been implemented yet.

Kevin



More information about the Valentina mailing list