Retreive the TIBCO Patterns Engine's version information.
Namespace:
NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function svrversion() As String |
C++ |
---|
public: String svrversion() sealed |
JScript |
---|
public
function svrversion() : String |
Return Value
The TIBCO Patterns Engine's version string
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();
}
}
|
See Also