Specifies the string value to associate with the "TrustedContextSystemPassword" keyword.
DB2Connection conn = new DB2Connection();
conn.ConnectionString = "database=db;server=server1:446;UserID=userapp1;Password=passapp1;TrustedContextSystemUserID=masteruser;TrustedContextSystemPassword=masterpassword;"
conn.Open();
// Do processing as userapp1, such as querying tables
conn.Close();
conn.ConnectionString = "database=db;server=server1:446;UserID=userapp2;Password=passapp2;TrustedContextSystemUserID=masteruser;TrustedContextSystemPassword=masterpassword;"
conn.Open();
// Do processing as userapp2
conn.Close();
A string value corresponding to the trusted context SYSYTEM AUTHID to be used with the connection.
With connection pooling enabled, trusted connections will be reused when available.