Skip to main content
Nintex Community Menu Bar

SOConnection connection string format

  • February 25, 2009
  • 2 replies
  • 9 views

Forum|alt.badge.img+5

Greetings.  Is the connection string format for the SOConnection object's connection string property different than what the SCConnectionStringBuilder object returns?  Anyone have an example string?


 I'm using the following:


string connString = "<my connection string goes here>";
using(SOConnection conn = new SOConnection(connString))
{
     ....
}


One of the SOConnection constructors allows for SOConnection(string server, int port) but I cannot use this at the moment so I need to use the

SOConnection(string connectionstring)  format.  Thanks.

2 replies

Forum|alt.badge.img+5
  • Author
  • February 25, 2009

I spoke too soon.  You can get an example by manually setting each connection property and then checking the ConnectionString property. 


conn.Port = 5555;
conn.Server = "serverName";
....


 


Forum|alt.badge.img+9
  • Nintex Partner
  • March 1, 2009