Subversion Repository Public Repository

ConnectionOdbcSdk

Diff Revisions 18 vs 19 for /trunk/CliTestProject/Program.cs

Diff revisions: vs.
  @@ -5,7 +5,7 @@
5 5 {
6 6 class Program
7 7 {
8 - private static CiscoUnityConnectionServerOdbc _server;
8 + private static UnityConnectionServerOdbc _server;
9 9
10 10 static void Main(string[] args)
11 11 {
  @@ -21,9 +21,9 @@
21 21
22 22 private static void LogIn()
23 23 {
24 - _server = new CiscoUnityConnectionServerOdbc(new ConnectionInformixAdoNetDatabaseFunctions("TestAppName"));
24 + _server = new UnityConnectionServerOdbc(new UnityConnectionDatabaseFunctionsInformixAdoNet("TestAppName"));
25 25
26 - var res = _server.LoginDatabaseBlocking("CCMAdministrator", "ecsbulab", "192.168.0.197");
26 + var res = _server.LoginDatabaseBlocking("CUC10a.lindborglabs.org","CCMAdministrator", "ecsbulab" );
27 27 if (res.Successful == false)
28 28 {
29 29 Console.WriteLine(res);
  @@ -47,6 +47,10 @@
47 47 return;
48 48 }
49 49
50 + bool temp= _server.DatabaseFunctions.ConnectionConversationNameExists("SubSignIn");
51 + Console.WriteLine(temp);
52 +
53 +
50 54 Console.WriteLine("Neighbor count=" + _server.NeighborLocations.Count);
51 55 Console.WriteLine("version is greater than 9.0.0 =" + _server.IsConnectionVersionAtLeast(9, 0, 0, 0));
52 56 Console.WriteLine("version is greater than 10.5.0 =" + _server.IsConnectionVersionAtLeast(10, 5, 0, 0));