The WaitForServerShutdown method returns when the server has shutdown or when the timeout expires, whichever comes first.
Boolean WaitForServerShutdown( UInt32 timeout )
WaitForServerShutdown can only be called after the ShutdownServer method is called. See ShutdownServer method.
timeout Indicates the maximum time in milliseconds to wait for the server to shutdown. Use DBSC_INFINITY to wait forever. The DBSC_INFINITY
constant is defined within the DbmlSyncClient class and not in the namespace, so you need to preface the constant. For example,
timeout = DbmlSyncClient.DBSC_INFINITY;
.
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.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |