Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns when the server has shutdown or when the timeout expires, whichever comes first.
public virtual bool WaitForServerShutdown(unsigned timeout)
Indicates the maximum time in milliseconds to wait for the server to shutdown. Use DBSC_INFINITY to wait
indefinitely for a response.
True when the method returned due to the server shutdown; otherwise, returns false. When false is returned, you can call the
GetErrorInfo method for more information about the failure.
WaitForServerShutdown can only be called after the ShutdownServer method is called.