Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
現在のサーバーコンテキストを返します。
Public Function GetServerContext() As ServerContext
public ServerContext GetServerContext()
この Mobile Link サーバーの ServerContext
このメソッドは、新しい接続を作成したり、ブートクラスと対話したりするために使用できます。
次の例は、DBConnectionContext の ServerContext インスタンスを取得して、サーバーを停止する方法を示します。
// A method that uses an instance of the ServerContext to shut down the server public void ShutDownServer() { ServerContext context = _cc.GetServerContext(); context.Shutdown(); }