Retreive the TIBCOŽ Patterns - Search Server'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 - Search Server'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 - Search Server 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