Пример #1
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);