Shutdown the TIBCO Patterns Engine.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Exceptions
Exception Type | Condition |
---|---|
NetricsException | If the server indicates that an error has occured |
Example
This sample code shows how to ping the TIBCO Patterns Engine.
![]() | |
---|---|
using System; using NetricsServerInterface; class MyClass { private static NetricsServerInterface.NetricsServerInterface si = null; public static void Main() { try { String host = "localhost"; int port = 5051; si = new NetricsServerInterface.NetricsServerInterface(host, port); si.svrshutdown(); Console.Write("Server shutdown successful.\n"); } catch (NetricsException e) { Console.Write(e.getErrorDescription() + "\n"); } } } |