Retreive the TIBCO Patterns Engine's version information.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function svrversion() As String _ Implements INetricsServerInterface.svrversion |
| C# |
|---|
| public string svrversion() |
| C++ |
|---|
| public: String svrversion() sealed |
| J# |
|---|
| public string svrversion() |
| JScript |
|---|
| public function svrversion() : String |
Return Value
The TIBCO Patterns Engine's version string
Implements
INetricsServerInterface.svrversion
Exceptions
| Exception Type | Condition |
|---|---|
| NetricsException | If the server indicates that an error has occured |
Example
This sample code shows how to specify a connection to the TIBCO Patterns Engine and obtain its version.
Copy Code
| |
|---|---|
using NetricsServerInterface;
class MyClass
{
private static NetricsServerInterface.NetricsServerInterface si = null;
public static void Main()
{
String host = "localhost";
int port = 5051;
si = new NetricsServerInterface.NetricsServerInterface(host, port);
String version = si.svrversion();
}
}
| |