public static SE_ERROR GetExtError(SE_CONNECTION connection) { SE_ERROR error = new SE_ERROR(); Int32 err_no = SE_connection_get_ext_error(connection, ref error); return(error); }
public static extern System.Int32 SE_connection_get_ext_error(SE_CONNECTION connection, ref SE_ERROR error);
public static string GetErrorMsg(SE_CONNECTION connection, SE_ERROR error) { return(GetErrorMsg(connection, error.sde_error)); }
public static extern System.Int32 SE_connection_create(string server, string instance, string database, string username, string password, ref SE_ERROR error, ref SE_CONNECTION conn);