Shutdown the TIBCO® Patterns - Search Server.
Namespace:
NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Enum NetricsServerInterface.ShutdownStatus |
| C# |
|---|
| public enum NetricsServerInterface.ShutdownStatus |
| C++ |
|---|
| public enum class NetricsServerInterface.ShutdownStatus |
| J# |
|---|
| public enum NetricsServerInterface.ShutdownStatus |
| JScript |
|---|
| public enum NetricsServerInterface.ShutdownStatus |
Example
This sample code shows how to ping the TIBCO® Patterns - Search Server.
| | Copy Code
|
|---|
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");
}
}
}
|
Members
See Also