public ServerContext getServerContext( )
この Mobile Link サーバの ServerContext を返します。
この Mobile Link サーバの ServerContext
次の例は、DBConnectionContext の ServerContext インスタンスを取得して、サーバを停止する方法を示します。
この例は、_cc という DBConnectionContext インスタンスがあることを前提としています。
// A method that uses an instance of the ServerContext to shut down the server public void shutDownServer() { ServerContext context = _cc.getServerContext(); context.shutdown(); } |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |