Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Shuts down the dbmlsync server to which the client is connected.
public virtual bool ShutdownServer(DBSC_ShutdownType how)
Indicates the urgency of the server shutdown. Supported values are listed in the DBSC_ShutdownType enumeration.
True when a shutdown request was successfully sent to the server; otherwise, returns false. When false is returned, you can
call the GetErrorInfo method for more information about the failure.
The Shutdown method returns immediately but there may be some delay before the server actually shuts down.
The WaitForServerShutdown method can be used to wait until the server actually shuts down.
You should still use the Disconnect method after calling ShutdownServer.