internal ODBC32.RetCode SetStatementAttribute(ODBC32.SQL_ATTR attribute, IntPtr value, ODBC32.SQL_IS stringLength)
 {
     ODBC32.RetCode retcode = Interop.Odbc.SQLSetStmtAttrW(this, (int)attribute, value, (int)stringLength);
     ODBC.TraceODBC(3, "SQLSetStmtAttrW", retcode);
     return(retcode);
 }
Beispiel #2
0
 // user can set SQL_ATTR_CONNECTION_POOLING attribute with envHandle = null, this attribute is process-level attribute
 internal static extern /*SQLRETURN*/ ODBC32.RetCode SQLSetEnvAttr(
     /*SQLHENV*/ OdbcEnvironmentHandle EnvironmentHandle,
     /*SQLINTEGER*/ ODBC32.SQL_ATTR Attribute,
     /*SQLPOINTER*/ IntPtr Value,
     /*SQLINTEGER*/ ODBC32.SQL_IS StringLength);
 internal static extern ODBC32.RetCode SQLSetEnvAttr(OdbcEnvironmentHandle EnvironmentHandle, ODBC32.SQL_ATTR Attribute, IntPtr Value, ODBC32.SQL_IS StringLength);