The WaitForServerShutdown method returns when the server has shutdown or when the timeout expires, whichever comes first.
bool WaitForServerShutdown( unsigned timeout )
WaitForServerShutdown can only be called after ShutdownServer method is called.
timeout Indicates the maximum time in milliseconds to wait for the server to shutdown.
Returns true if the method returned because the server shutdown.
Returns false otherwise. When false is returned, you can call the GetErrorInfo method to get more information about the failure. See GetErrorInfo method.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |